.. _session_1A:

Online Training Session 1, Part A
==================================

Basics of the software: running it for the first time, varibles, expressions, some simple commands. 

.. _1A_intro:

1. Introduction
---------------

Information on Hangout, Google Plus, overall plan for training sessions, other possible sources for help.


.. raw:: html
        
        <iframe width="560" height="315" src="https://www.youtube.com/embed/uEZjJMjcIs8?start=0&end=255" frameborder="0" allowfullscreen></iframe>
        
2. Basics
----------

Basics, outline, atlas files, directories, some useful Linux commands for atlas

.. raw:: html

        <iframe width="560" height="315" src="https://www.youtube.com/embed/uEZjJMjcIs8?start=255&end=575" frameborder="0" allowfullscreen></iframe>
        
3. First Command
-----------------

1+1=2, software basics: setting variables, data types, quit command.

.. raw:: html

        <iframe width="560" height="315" src="https://www.youtube.com/embed/uEZjJMjcIs8?start=575&end=700" frameborder="0" allowfullscreen></iframe>
        
4. atlas Scripts
----------------

The atlas-scripts directory, .at files, help files: atlas.help,installation, software requirements, designing principles of axis language, lists of data types, atlas-functions.help, scripts.help

.. raw:: html

        <iframe width="560" height="315" src="https://www.youtube.com/embed/uEZjJMjcIs8?start=700&end=1025" frameborder="0" allowfullscreen></iframe>
        
5. More Commands and Shortcuts
--------------------------------

Comments, \{TAB TAB\}, command completion, readline library test,more useful Linux shortcuts, whattype command, operations on integers: division rounding down, remainder, n-tuples, print, prints

.. raw:: html

        <iframe width="560" height="315" src="https://www.youtube.com/embed/uEZjJMjcIs8?start=1025&end=1575" frameborder="0" allowfullscreen></iframe>
        
6. Redefining Variables, Vector Operations
-------------------------------------------

Redefining variables, the ":" syntax, vectors, vec:, arrays, vector coordinates, operations on vectors, operations on different types.

.. raw:: html

        <iframe width="560" height="315" src="https://www.youtube.com/embed/uEZjJMjcIs8?start=1575&end=1811" frameborder="0" allowfullscreen></iframe>
        
7. Operator \$, \%, and booleans
-------------------------------------

Use of $ rational vectors, % on rational vectors, booleans

.. raw:: html

        <iframe width="560" height="315" src="https://www.youtube.com/embed/uEZjJMjcIs8?start=1811&end=1909" frameborder="0" allowfullscreen></iframe>
        
8. Matrix Operations
------------------------

Matrices, mat:, arrays of integer arrays, matrix operations, transpose, invert commands.

.. raw:: html

        <iframe width="560" height="315" src="https://www.youtube.com/embed/uEZjJMjcIs8?start=1909&end=2112" frameborder="0" allowfullscreen></iframe>
        
9. Loading Files
--------------------

Loading .at files, < input command, launching atlas with path argument for supplementary files, basic.at file.

.. raw:: html

        <iframe width="560" height="315" src="https://www.youtube.com/embed/uEZjJMjcIs8?start=2112&end=2360" frameborder="0" allowfullscreen></iframe>
        
10. Inverse
-----------------

Inverse command, invertible matrices over :math:`\mathbb{Z}`.

.. raw:: html

        <iframe width="560" height="315" src="https://www.youtube.com/embed/uEZjJMjcIs8?start=2360&end=2432" frameborder="0" allowfullscreen></iframe>
        
11. File Output
-------------------

File output command: ``>`` outputfile, append command: ``>>``

.. raw:: html

        <iframe width="560" height="315" src="https://www.youtube.com/embed/uEZjJMjcIs8?start=2432&end=2550" frameborder="0" allowfullscreen></iframe>
        
12. Solving Matrix Equations
----------------------------------

Solving matrix equations, null space.

.. raw:: html

        <iframe width="560" height="315" src="https://www.youtube.com/embed/uEZjJMjcIs8?start=2550&end=2889" frameborder="0" allowfullscreen></iframe>
        
13. Functions, Types, etc.
--------------------------

Functions, definitions, input and output types, example of functions scripts, basic for loops

.. raw:: html

        <iframe width="560" height="315" src="https://www.youtube.com/embed/uEZjJMjcIs8?start=2889&end=3252" frameborder="0" allowfullscreen></iframe>
        
14. Loops
-------------

for loops, while loops in atlas.help, examples of such loops in .at files

.. raw:: html

        <iframe width="560" height="315" src="https://www.youtube.com/embed/uEZjJMjcIs8?start=3252" frameborder="0" allowfullscreen></iframe>
        
