May 14, 2021 00:00 0 Comment Julia
Brief introduction, Brief introduction, Brief introduction, Julia is a flexible dynamic language for scientific and numerical calculations, with performance comparable to traditional static
May 14, 2021 01:00 0 Comment Julia
Begin, Begin, Resources, Begin, Julia's installation, whether using a compiled program or compiling it yourself from source code, is simple., Follow the instructions here to d
May 14, 2021 01:00 0 Comment Julia
Variable, Variable, The variable name available, The naming specification, Variable, A variable in Julia is a name associated with (or bound) to a value. I, t does this when you want to store a value (for example, you get som
May 14, 2021 01:00 0 Comment Julia
Integers and floats, Integers and floats, Integer, Overflow, Zero of the floating-point type, Precision, Arithmetic of arbitrary precision, Algegegeon coefficient, Zero and one, Integers and floats, Integers and floats are the basis of arithmetic and calculation. T, hey are all numeric text., For, 1, is integer text,, 1.0, is
May 14, 2021 01:00 0 Comment Julia
Mathematical operations and basic functions, Mathematical operations and basic functions, Arithmetic operator, Bit operator, The compound assignment operator, Numerical comparison, Chain comparison, The basic function, Mathematical operations and basic functions, Julia provides a complete set of basic arithmetic and bit operations for all its base numerical types, as
May 14, 2021 01:00 0 Comment Julia
Complex numbers and scores, Complex numbers and scores, Plural, Complex numbers and scores, Julia provides complex and fractional types and supports all standard, mathematical operations., When you mix different da
May 14, 2021 01:00 0 Comment Julia
String, String, Character, String basis, Unicode and UTF-8, Interpolation, General operation, Non-standard string text, Byte array text, Version number text, String, The, ASCII text in Julia is, simple and efficient, and you can also work with Unicode. U, sing C-style string code to handle ASCII strings, pe
May 14, 2021 01:00 0 Comment Julia
Function, Function, The argument pass behavior, The function operator, The operator of a special name, Anonymous function, Multiple return values, Variable parameter function, Optional parameters, Keyword parameters, The value scope of the default value, The block syntax of the function argument, Function, A function in Julia is an object that reflects a set of parameters into an object that returns a value, and Julia's function is not a purely
May 14, 2021 01:00 0 Comment Julia
Control the flow, Control the flow, A composite expression, Conditional value, Short-circuited value, Repeat: Loop, Exception handling, Tasks (also known as co-programs), Control the flow, Julia offers a range of control flows:, Composite expressions:, begin, and, (;), Conditional values:, if-elseif-else, ?: (ternary op
May 14, 2021 01:00 0 Comment Julia
The scope of the variable, The scope of the variable, Constant, The scope of the variable, The scope of a variable is the area where the variable is visible., Variable scopes can help avoid variable naming conflict
May 14, 2021 01:00 0 Comment Julia
Type, Type, The type declaration, Abstract type, Bit type, The composite type, Immedible composite type, The declared type, Multiple group types, Type commons, The paramethy type, The type alias, Type operation, Type, In Julia, if the type is omitted, the value can be any type., Adding types can significantly improve performance and system stability., The char
May 14, 2021 02:00 0 Comment Julia
Method, Method, Define the method, Method ambiguity, Paramethy method, About optional and keyword parameters, Method, As mentioned, in the function , functions are objects that map from parameter polymethgroups to return values, throwing exceptions if there is
May 14, 2021 02:00 0 Comment Julia
Date and time, Date and time, The constructor, Interval/comparison, Access functions, Query function, Interval arithmetic, Adjust the function, The interval, Date and time, Dates, module provides two types of data about time: Date and, DateTime, with precision of days and milliseconds, respectively, are sub
May 14, 2021 02:00 0 Comment Julia
Parallel calculations, Parallel calculations, Data movement, Parallel mapping and looping, Synchronize with remote references, Distributed array, Construct a distributed array, Distributed array operations, Shared array (for experimentation, only on unix), ClusterManagers, Parallel calculations, Julia provides a messaging-based multiprocessor environment that allows programs to run programs simultaneously on multiple pro
May 14, 2021 02:00 0 Comment Julia
Networks and streams, Networks and streams, Basic flow I/O, Text I/O, Use the file, A simple example of TCP, Resolve the IP address, Networks and streams, Julia provides a rich interface for handling terminals, pipelines, tcp sockets, and so on I/O flow objects., The implementation