- Julia 1.0 Programming Complete Reference Guide
- Ivo Balbaert Adrian Salceanu
- 165字
- 2021-06-24 14:21:41
Variables, Types, and Operations
Julia is an optionally typed language, which means that the user can choose to specify the type of arguments passed to a function and the type of variables used inside a function. Julia's type system is the key for its performance; understanding it well is important, and it can pay off to use type annotations, not only for documentation or tooling, but also for execution speed. This chapter discusses the realm of elementary built-in types in Julia, the operations that can be performed on them, as well as the important concepts of types and scope.
The following topics are covered in this chapter:
- Variables, naming conventions, and comments
- Types
- Integers
- Floating point numbers
- Elementary mathematical functions and operations
- Rational and complex numbers
- Characters
- Strings
- Regular expressions
- Ranges and arrays
- Dates and times
- Scope and constants
You will need to follow along by typing in the examples in the REPL, or executing the code snippets in the code files of this chapter.
推薦閱讀
- 解構產品經理:互聯網產品策劃入門寶典
- Visual Basic程序開發(學習筆記)
- Java高手真經(高級編程卷):Java Web高級開發技術
- 實用防銹油配方與制備200例
- Python計算機視覺編程
- Python:Master the Art of Design Patterns
- Clojure for Machine Learning
- NGUI for Unity
- Instant Apache Camel Messaging System
- Android 游戲開發大全(第二版)
- Android高級開發實戰:UI、NDK與安全
- INSTANT Apache Hive Essentials How-to
- Spring Boot學習指南:構建云原生Java和Kotlin應用程序
- Building Web and Mobile ArcGIS Server Applications with JavaScript(Second Edition)
- Slick2D Game Development