chem cryst
CRYSTALS manual
University of Oxford


chem cryst news



Crystals Manual

Chapter 11: Matrix Calculations

11.1: The Basic Matrix Calculator \MATRIX

[Top] [Index] Manuals generated on Wednesday 8 November 2006

11.1: The Basic Matrix Calculator \MATRIX

  \MATRIX 
  A      
  B      
  MM     
  TM     
  MT     
  TT     
  TRANS  
  INV    
  EIG    
  ACC2A  
  ACC2B  
  EXECUTE
  END
 
  \MATRIX
  A 1 2 3 4 5 6 7 8 9
  B 4 5 6 7 8 9 10 11 12
  MM
  END
 
 


CRYSTALS contains a simple calculator for processing 3x3 matrices. Two matrices, A and B, can be input and operated on. The result is output to the screen and left in an accumulator. It can be transfered to A or B for further operations. There is currently no interface to any stored crystallographic information.
 

\MATRIX


 
A

Followed by the nine values for the matrix A by rows
 

B

Followed by the nine values for the matrix B by rows
 

MM

Accumulator = AxB
 

TM

Accumulator = A'xB
 

MT

Accumulator = AxB'
 

TT

Accumulator = A'xB'
 

TRANS

Accumulator = A'
 

INV

Accumulator = A-1
 

EIG

Accumulator = Eigenvectors of A
 

ACC2A

Matrix A = Accumulator
 

ACC2B

Matrix B = Accumulator
 

EXECUTE

Forces execution of the last directive

 



[Introduction To The System | Definitions And Conventions | The Crystals Database | Initial Data Input | Reflection Data Input | Atomic And Structural Parameters | Structure Factors And Least Squares | Fourier Routines | Analysis Of Results | Twinned Crystals | Matrix Calculations | Obsolete Commands ]

Crystals Now!  Manuals NOW!

© Copyright Chemical Crystallography Laboratory, Oxford, 2006. Comments or queries to David Watkin - david.watkin@chem.ox.ac.uk Telephone +44 1865 285019. This page last changed on Wednesday 8 November 2006. The website was re-generated on Wednesday 8 November 2006. Choose your nearest mirror for faster access: [ Original | CCP14 UK Mirror | CCP14 Canadian Mirror | CCP14 USA Mirror | CCP14 Australian Mirror ]
Authorised people, edit: this file, news, tree, template, stylesheet. Rebuild website.