SlideShare a Scribd company logo
PRESENTED BY
NITHYA A.P
OVERVIEW













INTRODUCTION
FEATURES
DATA TYPES
MATHEMATICAL OPERATORS
COMPLEX AND RATIONAL NUMBERS’
STRINGS
FUNCTIONS
CONTROL FLOW
JULIA STANDARD Library
SIMPLE PLOTING
ADVANTAGES
CONCLUSION
INTRODUCTION


Julia is a high-level, highperformance dynamic programming
language for technical computing,
with syntax that is familiar to users
of other technical computing
environments. It provides a
sophisticated compiler, distributed
parallel execution, numerical
accuracy, and an extensive
mathematical function library.
Appeared in 2012
Designed by Jeff Bezanson, Stefan Karpinski, Viral B.
Shah, Alan Edelman (MIT Group Leader)
OS

Linux, FreeBSD, Windows

Stable
release
Typing
discipline
Influenced
by

0.1.2 (March 7, 2013))

License
Usual
filename
extensions

MIT License
.jl

Dynamic with optional type annotations
and type inference
MATLAB, Scheme, Lisp, C Python Perl
Ruby
FEATURES





High-Performance JIT Compiler
Designed for Parallelism & Cloud
Computing
Free, Open Source & Library-Friendly
DATATYPES
Integers and Floating-Point
Numbers
Integer Types
Int8— signed 8-bit integers ranging
from -2^7 to 2^7 - 1.
Uint8 — unsigned 8-bit integers
ranging from 0 to 2^8 - 1.
Int16 — signed 16-bit integers ranging
from -2^15 to 2^15 - 1.
Uint16 — unsigned 16-bit integers
ranging from 0 to 2^16 - 1
Int32 — signed 32-bit integers ranging
from -2^31 to 2^31 - 1.
Uint32 — unsigned 32-bit integers
ranging from 0 to 2^32 - 1.
Int64 — signed 64-bit integers ranging
from -2^63 to 2^63 - 1.
Uint64 — unsigned 64-bit integers
ranging from 0 to 2^64 - 1.
Int128 - signed 128-bit integers ranging
from -2^127 to 2^127 - 1.
Uint128 - unsigned 128-bit integers
ranging from 0 to 2^128 - 1.
Bool- either true or false, which
correspond numerically to 1 and 0.
Char- a 32-bit numeric type
representing a Unicode character.
Floating-point types:
Float32- IEEE 754 32-bit floating-point
numbers.
 Float64-IEEE 754 64-bit floating-point
numbers.

Arbitrary Precision
Arithmetic




allow computations with
arbitrary precision integers and
floating point numbers
The BigInt and BigFloat types
are available in Julia for
arbitrary precision integer and
floating point numbers
respectively.
Numeric Literal Coefficients






make common numeric formulas and
expressions clearer
writing polynomial expressions much
cleaner.
makes writing exponential functions
more elegant.
Syntax Conflicts




The hexadecimal integer literal
expression 0xff could be
interpreted as the numeric literal
0 multiplied by the variable xff.
The floating-point literal
expression 1e10 could be
interpreted as the numeric literal
1 multiplied by the variable e10,
and similarly with the equivalent
E form.
MATHEMATICAL
OPERATORS



Arithmetic Operators
Bitwise Operators
 Arithmetic

operators

• +x-unary plus is the identity operation.
• x-unary minus maps values to their
additive inverses.
• x + y-binary plus performs addition.
• x – y-binary minus performs subtraction.
• x * y- times performs multiplication.
• x / y-divide performs division.
Bitwise Operators
• ~x
•x&y
•x|y
• x $ y• x >> y
• x >> y• x << y

bitwise not.
bitwise and.
bitwise or.
bitwise xor.
logical shift right.
arithmetic shift right.
logical/arithmetic shift
left.
NUMERIC COMPARISON
 Comparison

Operators

• ==equality.
• != inequality.
• <less than.
• <=less than or equal to.
• >greater than.
• >=greater than or equal to.
MATHEMATICALFUNCTIONS
o

o

Julia provides a comprehensive
collection of mathematical
functions and operators
All the standard trignometric
functions are inluded
Some examples
• sqrt(x)— the square root of x.
• cbrt(x)— the cube root of x.
• pow(x,y)—x raised to the
exponent y.
• exp(x)— the natural exponential
function at x.
• log(x)— the natural logarithm of
x.
Complex Numbers


We can perform all the standard
arithmetic operations with complex
numbers:
julia> (1 + 2im)*(2 - 3im)
8 + 1im



Standard functions to manipulate
complex values are provided:
julia> real(1 + 2im)
1
Julia> imag(1 + 2im)
2

julia> conj(1 + 2im)
1 - 2im
Rational Numbers




Julia has a rational number type to
represent exact ratios of integers.
Rationals are constructed using
the // operator:
If the numerator and denominator of
a rational have common factors,
they are reduced to lowest terms
such that the denominator is nonnegative:
Julia> 6//9
2//3
julia> 5//-15
-1//3
STRINGS

•

Strings are finite sequences of
characters. Julia supports the full
range of unicode characters:
Characters
A Char value represents a single
character: it is just a 32-bit integer
with a special literal representation
and appropriate arithmetic
behaviors, whose numeric value is
interpreted as a Unicode code point
Interpolation





To reduce the need for these
verbose calls to strcat, Julia
allows interpolation into string
literals using $, as in Perl:
julia> "$greet, $whom.n"
"Hello, world.n"
STRING FUNCTIONS
 strchr

function:
Julia> strchr("xylophone", ’x’)
1
 repeat:
julia> repeat(".:Z:.", 10)
".:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..
:Z:..:Z:.“
 •endof(str) gives the maximal
(byte) index that can be used to
index into str.
• i = start(str) gives the first valid index at
which a character can be found in str
(typically 1).
• c, j = next(str,i) returns next character at or
after the index i and the next valid character
index
following that. With start and endof, can be
used to iterate through the characters in str.
• ind2chr(str,i) gives the number of
characters in str up to and including any at
index i
• chr2ind(str,j) gives the index at which the
jth character in str occurs.
FUNCTIONS




In Julia, a function is an object
that maps a tuple of argument
values to a return value
syntax for defining functions in
Julia is:
function f(x,y)
x+y
end
CONTROL FLOW
• Compound Expressions: begin
and (;).
• Conditional Evaluation: if-elseifelse and ?: (ternary operator).
• Short-Circuit Evaluation: &&, ||
and chained comparisons.
• Repeated Evaluation: Loops:
while and for.
Julia Standard Library
There are 65 pacages in Julia
some of them are:
1. ArgPars-Package for parsing
command-line arguments to
Julia programs.
2. Calculus-Calculus functions
in Julia
3.Calendar-Calendar time
package for Julia
4. Color-Basic color
manipulation utilities
5.Graph-Working with graphs in
Julia
6. HTTP-HTTP library (server,
client, parser) for the Julia
language
7. Languages-A package for
working with human language
8.Sound-Reading and writing from
WAV files (should probably be
named WAV)
9. Winston-2D plotting for Julia
Simple Ploting
To plot sin(x) between 0 and 2π,
you can go like this
julia> xVector=[0:0.01:2*pi];
julia> yVector=0.0*xVector;
julia> for n=1:length(xVector):
yVector[n] = sin(xVector[n]);
end
julia> plot(xVector, yVector)
Advantages of JULIA

• Free and open source (MIT
licensed)
• User-defined types are as fast
and compact as built-ins
• Designed for parallelism and
distributed computation
• Elegant and extensible
conversions and promotions for
numeric and other types
• Call C functions directly
CONCLUSION
Julia is a is a flexible dynamic
language, appropriate for scientific and
numerical computing
Julia features optional typing, multiple
dispatch, and good performance,
achieved using type inference and justintime (JIT) compilation.
Julia combines the features of many
other Programing languages like
C,Matlab,java etc.
Which is useful for scientific
computing.It is a User friendly and easly
Understandable Programming Language
REFERENCES
"The Julia Language" (official website).
O'Reilly Strata. Retrieved 7 February
2013.
 Krill, Paul. "New Julia language seeks to
be the C for scientists " InfoWorld.
Retrieved 7 February 2013.
 "Julia: A Fast Dynamic Language for
Technical Computing" (PDF). 2012.
 "Why We Created Julia"(World Wide Web
log). Feb 2012. Retrieved 7 February
2013.
 "The Julia Studio" (official website).
 Julia Language Documentation Release
development

Any
questions????
??????
julia-Latest Programming  language

More Related Content

What's hot

Pragmatic Real-World Scala (short version)
Pragmatic Real-World Scala (short version)Pragmatic Real-World Scala (short version)
Pragmatic Real-World Scala (short version)
Jonas Bonér
 
02. Data Types and variables
02. Data Types and variables02. Data Types and variables
02. Data Types and variables
Intro C# Book
 
19. Java data structures algorithms and complexity
19. Java data structures algorithms and complexity19. Java data structures algorithms and complexity
19. Java data structures algorithms and complexity
Intro C# Book
 
Java Foundations: Basic Syntax, Conditions, Loops
Java Foundations: Basic Syntax, Conditions, LoopsJava Foundations: Basic Syntax, Conditions, Loops
Java Foundations: Basic Syntax, Conditions, Loops
Svetlin Nakov
 
Spsl vi unit final
Spsl vi unit finalSpsl vi unit final
Spsl vi unit final
Sasidhar Kothuru
 
CS2309 JAVA LAB MANUAL
CS2309 JAVA LAB MANUALCS2309 JAVA LAB MANUAL
CS2309 JAVA LAB MANUAL
Lavanya Arunachalam A
 
Java programming lab manual
Java programming lab manualJava programming lab manual
Java programming lab manual
sameer farooq
 
19. Data Structures and Algorithm Complexity
19. Data Structures and Algorithm Complexity19. Data Structures and Algorithm Complexity
19. Data Structures and Algorithm Complexity
Intro C# Book
 
Python for data science by www.dmdiploma.com
Python for data science by www.dmdiploma.comPython for data science by www.dmdiploma.com
Python for data science by www.dmdiploma.com
ShwetaAggarwal56
 
Javantura v6 - Kotlin-Java Interop - Matej Vidaković
Javantura v6 - Kotlin-Java Interop - Matej VidakovićJavantura v6 - Kotlin-Java Interop - Matej Vidaković
Javantura v6 - Kotlin-Java Interop - Matej Vidaković
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
07. Java Array, Set and Maps
07.  Java Array, Set and Maps07.  Java Array, Set and Maps
07. Java Array, Set and Maps
Intro C# Book
 
13. Java text processing
13.  Java text processing13.  Java text processing
13. Java text processing
Intro C# Book
 
DIWE - Working with MySQL Databases
DIWE - Working with MySQL DatabasesDIWE - Working with MySQL Databases
DIWE - Working with MySQL Databases
Rasan Samarasinghe
 
Lecture02 class -_templatev2
Lecture02 class -_templatev2Lecture02 class -_templatev2
Lecture02 class -_templatev2
Hariz Mustafa
 
Introduction to objective c
Introduction to objective cIntroduction to objective c
Introduction to objective c
Mayank Jalotra
 
11. Java Objects and classes
11. Java  Objects and classes11. Java  Objects and classes
11. Java Objects and classes
Intro C# Book
 
Why we cannot ignore Functional Programming
Why we cannot ignore Functional ProgrammingWhy we cannot ignore Functional Programming
Why we cannot ignore Functional Programming
Mario Fusco
 
Java Simple Programs
Java Simple ProgramsJava Simple Programs
Java Simple Programs
Upender Upr
 
Kotlin
KotlinKotlin
All experiment of java
All experiment of javaAll experiment of java
All experiment of java
Guru Janbheshver University, Hisar
 

What's hot (20)

Pragmatic Real-World Scala (short version)
Pragmatic Real-World Scala (short version)Pragmatic Real-World Scala (short version)
Pragmatic Real-World Scala (short version)
 
02. Data Types and variables
02. Data Types and variables02. Data Types and variables
02. Data Types and variables
 
19. Java data structures algorithms and complexity
19. Java data structures algorithms and complexity19. Java data structures algorithms and complexity
19. Java data structures algorithms and complexity
 
Java Foundations: Basic Syntax, Conditions, Loops
Java Foundations: Basic Syntax, Conditions, LoopsJava Foundations: Basic Syntax, Conditions, Loops
Java Foundations: Basic Syntax, Conditions, Loops
 
Spsl vi unit final
Spsl vi unit finalSpsl vi unit final
Spsl vi unit final
 
CS2309 JAVA LAB MANUAL
CS2309 JAVA LAB MANUALCS2309 JAVA LAB MANUAL
CS2309 JAVA LAB MANUAL
 
Java programming lab manual
Java programming lab manualJava programming lab manual
Java programming lab manual
 
19. Data Structures and Algorithm Complexity
19. Data Structures and Algorithm Complexity19. Data Structures and Algorithm Complexity
19. Data Structures and Algorithm Complexity
 
Python for data science by www.dmdiploma.com
Python for data science by www.dmdiploma.comPython for data science by www.dmdiploma.com
Python for data science by www.dmdiploma.com
 
Javantura v6 - Kotlin-Java Interop - Matej Vidaković
Javantura v6 - Kotlin-Java Interop - Matej VidakovićJavantura v6 - Kotlin-Java Interop - Matej Vidaković
Javantura v6 - Kotlin-Java Interop - Matej Vidaković
 
07. Java Array, Set and Maps
07.  Java Array, Set and Maps07.  Java Array, Set and Maps
07. Java Array, Set and Maps
 
13. Java text processing
13.  Java text processing13.  Java text processing
13. Java text processing
 
DIWE - Working with MySQL Databases
DIWE - Working with MySQL DatabasesDIWE - Working with MySQL Databases
DIWE - Working with MySQL Databases
 
Lecture02 class -_templatev2
Lecture02 class -_templatev2Lecture02 class -_templatev2
Lecture02 class -_templatev2
 
Introduction to objective c
Introduction to objective cIntroduction to objective c
Introduction to objective c
 
11. Java Objects and classes
11. Java  Objects and classes11. Java  Objects and classes
11. Java Objects and classes
 
Why we cannot ignore Functional Programming
Why we cannot ignore Functional ProgrammingWhy we cannot ignore Functional Programming
Why we cannot ignore Functional Programming
 
Java Simple Programs
Java Simple ProgramsJava Simple Programs
Java Simple Programs
 
Kotlin
KotlinKotlin
Kotlin
 
All experiment of java
All experiment of javaAll experiment of java
All experiment of java
 

Similar to julia-Latest Programming language

Chapter 2: Elementary Programming
Chapter 2: Elementary ProgrammingChapter 2: Elementary Programming
Chapter 2: Elementary Programming
Eric Chou
 
Using Language Oriented Programming to Execute Computations on the GPU
Using Language Oriented Programming to Execute Computations on the GPUUsing Language Oriented Programming to Execute Computations on the GPU
Using Language Oriented Programming to Execute Computations on the GPU
Skills Matter
 
Advance Python programming languages-Simple Easy learning
Advance Python programming languages-Simple Easy learningAdvance Python programming languages-Simple Easy learning
Advance Python programming languages-Simple Easy learning
sherinjoyson
 
Python programming
Python programmingPython programming
Python programming
saroja20
 
Compiler Design lab manual for Computer Engineering .pdf
Compiler Design lab manual for Computer Engineering .pdfCompiler Design lab manual for Computer Engineering .pdf
Compiler Design lab manual for Computer Engineering .pdf
kalpana Manudhane
 
R basics for MBA Students[1].pptx
R basics for MBA Students[1].pptxR basics for MBA Students[1].pptx
R basics for MBA Students[1].pptx
rajalakshmi5921
 
CPPDS Slide.pdf
CPPDS Slide.pdfCPPDS Slide.pdf
CPPDS Slide.pdf
Fadlie Ahdon
 
Introduction to scala for a c programmer
Introduction to scala for a c programmerIntroduction to scala for a c programmer
Introduction to scala for a c programmer
Girish Kumar A L
 
R Programming Language
R Programming LanguageR Programming Language
R Programming Language
NareshKarela1
 
Introduction to Python Programming
Introduction to Python ProgrammingIntroduction to Python Programming
Introduction to Python Programming
VijaySharma802
 
Developer’s viewpoint on swift programming language
Developer’s viewpoint on swift programming languageDeveloper’s viewpoint on swift programming language
Developer’s viewpoint on swift programming language
Azilen Technologies Pvt. Ltd.
 
C intro
C introC intro
C intro
SHIKHA GAUTAM
 
Unit1.ppt
Unit1.pptUnit1.ppt
Unit1.ppt
BerlinShaheema2
 
Learn C LANGUAGE at ASIT
Learn C LANGUAGE at ASITLearn C LANGUAGE at ASIT
Learn C LANGUAGE at ASIT
ASIT
 
B.sc CSIT 2nd semester C++ Unit2
B.sc CSIT  2nd semester C++ Unit2B.sc CSIT  2nd semester C++ Unit2
B.sc CSIT 2nd semester C++ Unit2
Tekendra Nath Yogi
 
1_Introduction.pptx
1_Introduction.pptx1_Introduction.pptx
1_Introduction.pptx
ranapoonam1
 
Introduction to Python Basics
Introduction to Python BasicsIntroduction to Python Basics
Introduction to Python Basics
Raghunath A
 
Unit I - 1R introduction to R program.pptx
Unit I - 1R introduction to R program.pptxUnit I - 1R introduction to R program.pptx
Unit I - 1R introduction to R program.pptx
SreeLaya9
 
fundamentals of c
fundamentals of cfundamentals of c
fundamentals of c
Vijayalaxmi Wakode
 
Intellectual technologies
Intellectual technologiesIntellectual technologies
Intellectual technologies
Polad Saruxanov
 

Similar to julia-Latest Programming language (20)

Chapter 2: Elementary Programming
Chapter 2: Elementary ProgrammingChapter 2: Elementary Programming
Chapter 2: Elementary Programming
 
Using Language Oriented Programming to Execute Computations on the GPU
Using Language Oriented Programming to Execute Computations on the GPUUsing Language Oriented Programming to Execute Computations on the GPU
Using Language Oriented Programming to Execute Computations on the GPU
 
Advance Python programming languages-Simple Easy learning
Advance Python programming languages-Simple Easy learningAdvance Python programming languages-Simple Easy learning
Advance Python programming languages-Simple Easy learning
 
Python programming
Python programmingPython programming
Python programming
 
Compiler Design lab manual for Computer Engineering .pdf
Compiler Design lab manual for Computer Engineering .pdfCompiler Design lab manual for Computer Engineering .pdf
Compiler Design lab manual for Computer Engineering .pdf
 
R basics for MBA Students[1].pptx
R basics for MBA Students[1].pptxR basics for MBA Students[1].pptx
R basics for MBA Students[1].pptx
 
CPPDS Slide.pdf
CPPDS Slide.pdfCPPDS Slide.pdf
CPPDS Slide.pdf
 
Introduction to scala for a c programmer
Introduction to scala for a c programmerIntroduction to scala for a c programmer
Introduction to scala for a c programmer
 
R Programming Language
R Programming LanguageR Programming Language
R Programming Language
 
Introduction to Python Programming
Introduction to Python ProgrammingIntroduction to Python Programming
Introduction to Python Programming
 
Developer’s viewpoint on swift programming language
Developer’s viewpoint on swift programming languageDeveloper’s viewpoint on swift programming language
Developer’s viewpoint on swift programming language
 
C intro
C introC intro
C intro
 
Unit1.ppt
Unit1.pptUnit1.ppt
Unit1.ppt
 
Learn C LANGUAGE at ASIT
Learn C LANGUAGE at ASITLearn C LANGUAGE at ASIT
Learn C LANGUAGE at ASIT
 
B.sc CSIT 2nd semester C++ Unit2
B.sc CSIT  2nd semester C++ Unit2B.sc CSIT  2nd semester C++ Unit2
B.sc CSIT 2nd semester C++ Unit2
 
1_Introduction.pptx
1_Introduction.pptx1_Introduction.pptx
1_Introduction.pptx
 
Introduction to Python Basics
Introduction to Python BasicsIntroduction to Python Basics
Introduction to Python Basics
 
Unit I - 1R introduction to R program.pptx
Unit I - 1R introduction to R program.pptxUnit I - 1R introduction to R program.pptx
Unit I - 1R introduction to R program.pptx
 
fundamentals of c
fundamentals of cfundamentals of c
fundamentals of c
 
Intellectual technologies
Intellectual technologiesIntellectual technologies
Intellectual technologies
 

Recently uploaded

مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
danielkiash986
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
BoudhayanBhattachari
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDFLifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Vivekanand Anglo Vedic Academy
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
zuzanka
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Henry Hollis
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 

Recently uploaded (20)

مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDFLifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 

julia-Latest Programming language

  • 1.
  • 3. OVERVIEW             INTRODUCTION FEATURES DATA TYPES MATHEMATICAL OPERATORS COMPLEX AND RATIONAL NUMBERS’ STRINGS FUNCTIONS CONTROL FLOW JULIA STANDARD Library SIMPLE PLOTING ADVANTAGES CONCLUSION
  • 4. INTRODUCTION  Julia is a high-level, highperformance dynamic programming language for technical computing, with syntax that is familiar to users of other technical computing environments. It provides a sophisticated compiler, distributed parallel execution, numerical accuracy, and an extensive mathematical function library.
  • 5. Appeared in 2012 Designed by Jeff Bezanson, Stefan Karpinski, Viral B. Shah, Alan Edelman (MIT Group Leader) OS Linux, FreeBSD, Windows Stable release Typing discipline Influenced by 0.1.2 (March 7, 2013)) License Usual filename extensions MIT License .jl Dynamic with optional type annotations and type inference MATLAB, Scheme, Lisp, C Python Perl Ruby
  • 6. FEATURES    High-Performance JIT Compiler Designed for Parallelism & Cloud Computing Free, Open Source & Library-Friendly
  • 7.
  • 8. DATATYPES Integers and Floating-Point Numbers Integer Types Int8— signed 8-bit integers ranging from -2^7 to 2^7 - 1. Uint8 — unsigned 8-bit integers ranging from 0 to 2^8 - 1. Int16 — signed 16-bit integers ranging from -2^15 to 2^15 - 1. Uint16 — unsigned 16-bit integers ranging from 0 to 2^16 - 1
  • 9. Int32 — signed 32-bit integers ranging from -2^31 to 2^31 - 1. Uint32 — unsigned 32-bit integers ranging from 0 to 2^32 - 1. Int64 — signed 64-bit integers ranging from -2^63 to 2^63 - 1.
  • 10. Uint64 — unsigned 64-bit integers ranging from 0 to 2^64 - 1. Int128 - signed 128-bit integers ranging from -2^127 to 2^127 - 1. Uint128 - unsigned 128-bit integers ranging from 0 to 2^128 - 1.
  • 11. Bool- either true or false, which correspond numerically to 1 and 0. Char- a 32-bit numeric type representing a Unicode character. Floating-point types: Float32- IEEE 754 32-bit floating-point numbers.  Float64-IEEE 754 64-bit floating-point numbers. 
  • 12. Arbitrary Precision Arithmetic   allow computations with arbitrary precision integers and floating point numbers The BigInt and BigFloat types are available in Julia for arbitrary precision integer and floating point numbers respectively.
  • 13. Numeric Literal Coefficients    make common numeric formulas and expressions clearer writing polynomial expressions much cleaner. makes writing exponential functions more elegant.
  • 14. Syntax Conflicts   The hexadecimal integer literal expression 0xff could be interpreted as the numeric literal 0 multiplied by the variable xff. The floating-point literal expression 1e10 could be interpreted as the numeric literal 1 multiplied by the variable e10, and similarly with the equivalent E form.
  • 15. MATHEMATICAL OPERATORS   Arithmetic Operators Bitwise Operators  Arithmetic operators • +x-unary plus is the identity operation. • x-unary minus maps values to their additive inverses. • x + y-binary plus performs addition. • x – y-binary minus performs subtraction. • x * y- times performs multiplication. • x / y-divide performs division.
  • 16. Bitwise Operators • ~x •x&y •x|y • x $ y• x >> y • x >> y• x << y bitwise not. bitwise and. bitwise or. bitwise xor. logical shift right. arithmetic shift right. logical/arithmetic shift left.
  • 17. NUMERIC COMPARISON  Comparison Operators • ==equality. • != inequality. • <less than. • <=less than or equal to. • >greater than. • >=greater than or equal to.
  • 18. MATHEMATICALFUNCTIONS o o Julia provides a comprehensive collection of mathematical functions and operators All the standard trignometric functions are inluded
  • 19. Some examples • sqrt(x)— the square root of x. • cbrt(x)— the cube root of x. • pow(x,y)—x raised to the exponent y. • exp(x)— the natural exponential function at x. • log(x)— the natural logarithm of x.
  • 20. Complex Numbers  We can perform all the standard arithmetic operations with complex numbers: julia> (1 + 2im)*(2 - 3im) 8 + 1im  Standard functions to manipulate complex values are provided: julia> real(1 + 2im) 1 Julia> imag(1 + 2im) 2 julia> conj(1 + 2im) 1 - 2im
  • 21. Rational Numbers   Julia has a rational number type to represent exact ratios of integers. Rationals are constructed using the // operator: If the numerator and denominator of a rational have common factors, they are reduced to lowest terms such that the denominator is nonnegative: Julia> 6//9 2//3 julia> 5//-15 -1//3
  • 22. STRINGS • Strings are finite sequences of characters. Julia supports the full range of unicode characters: Characters A Char value represents a single character: it is just a 32-bit integer with a special literal representation and appropriate arithmetic behaviors, whose numeric value is interpreted as a Unicode code point
  • 23. Interpolation    To reduce the need for these verbose calls to strcat, Julia allows interpolation into string literals using $, as in Perl: julia> "$greet, $whom.n" "Hello, world.n"
  • 24. STRING FUNCTIONS  strchr function: Julia> strchr("xylophone", ’x’) 1  repeat: julia> repeat(".:Z:.", 10) ".:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:.. :Z:..:Z:.“  •endof(str) gives the maximal (byte) index that can be used to index into str.
  • 25. • i = start(str) gives the first valid index at which a character can be found in str (typically 1). • c, j = next(str,i) returns next character at or after the index i and the next valid character index following that. With start and endof, can be used to iterate through the characters in str. • ind2chr(str,i) gives the number of characters in str up to and including any at index i • chr2ind(str,j) gives the index at which the jth character in str occurs.
  • 26. FUNCTIONS   In Julia, a function is an object that maps a tuple of argument values to a return value syntax for defining functions in Julia is: function f(x,y) x+y end
  • 27. CONTROL FLOW • Compound Expressions: begin and (;). • Conditional Evaluation: if-elseifelse and ?: (ternary operator). • Short-Circuit Evaluation: &&, || and chained comparisons. • Repeated Evaluation: Loops: while and for.
  • 28. Julia Standard Library There are 65 pacages in Julia some of them are: 1. ArgPars-Package for parsing command-line arguments to Julia programs. 2. Calculus-Calculus functions in Julia 3.Calendar-Calendar time package for Julia 4. Color-Basic color manipulation utilities
  • 29. 5.Graph-Working with graphs in Julia 6. HTTP-HTTP library (server, client, parser) for the Julia language 7. Languages-A package for working with human language 8.Sound-Reading and writing from WAV files (should probably be named WAV) 9. Winston-2D plotting for Julia
  • 30. Simple Ploting To plot sin(x) between 0 and 2π, you can go like this julia> xVector=[0:0.01:2*pi]; julia> yVector=0.0*xVector; julia> for n=1:length(xVector): yVector[n] = sin(xVector[n]); end julia> plot(xVector, yVector)
  • 31.
  • 32. Advantages of JULIA • Free and open source (MIT licensed) • User-defined types are as fast and compact as built-ins • Designed for parallelism and distributed computation • Elegant and extensible conversions and promotions for numeric and other types • Call C functions directly
  • 33. CONCLUSION Julia is a is a flexible dynamic language, appropriate for scientific and numerical computing Julia features optional typing, multiple dispatch, and good performance, achieved using type inference and justintime (JIT) compilation. Julia combines the features of many other Programing languages like C,Matlab,java etc. Which is useful for scientific computing.It is a User friendly and easly Understandable Programming Language
  • 34. REFERENCES "The Julia Language" (official website). O'Reilly Strata. Retrieved 7 February 2013.  Krill, Paul. "New Julia language seeks to be the C for scientists " InfoWorld. Retrieved 7 February 2013.  "Julia: A Fast Dynamic Language for Technical Computing" (PDF). 2012.  "Why We Created Julia"(World Wide Web log). Feb 2012. Retrieved 7 February 2013.  "The Julia Studio" (official website).  Julia Language Documentation Release development 