# doc-cache created by Octave 9.2.0
# name: cache
# type: cell
# rows: 3
# columns: 12
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 7
dir2Vec


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 42
 Convert direction to vector coordinates



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 42
 Convert direction to vector coordinates




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
dir2Vec3V


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 42
 Convert direction to vector coordinates



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 42
 Convert direction to vector coordinates




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
getCoef1


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 34
 Combination of coefficient of k



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 34
 Combination of coefficient of k




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
getCoef2


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 34
 Combination of coefficient of v



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 34
 Combination of coefficient of v




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
getInput


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 279
  ========================== Processing input file ========================
    Input parameter:
                      filename, the input file name that contains the file path.
    Out parameter:
                      Re, return all the input parameters in the input file.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
  ========================== Processing input file ========================
...



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 12
getMaxMinNeg


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 272
    Input parameter: 
                      data, which is a m*n matrix.
                      flag, 'max', 'min' or 'neg'.
    Out parameter: 
                      Re, return maximum, minimum positive or minimum negative value in column of Data according to flag. 



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 73
    Input parameter: 
                      data, which is a m*n matrix.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
getPosNeg


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 236
    Input parameter: 
                    — data, which is a m*n matrix.
                    — flag, 'pos' or 'neg'.
    Out parameter: 
                    — Re, return positive or negative value in Data according to flag. 



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 75
    Input parameter: 
                    — data, which is a m*n matrix.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 10
initOutput


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 28
 Initialize output results



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 28
 Initialize output results




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 13
isAllPositive


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 165
    Input parameter: D, which is a m*1 or 1*m matrix.

    Out parameter: Re, if all elements of D are positive, Re = true;
                   else, Re = false;



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 53
    Input parameter: D, which is a m*1 or 1*m matrix.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
isOctave


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 70
Determine if the current compilation environment is Octave or MATLAB



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 70
Determine if the current compilation environment is Octave or MATLAB




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 12
maxminSearch


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 553
   ========================= max or min search ==============================
    Input parameter: 
                      x0, Initial value of optimization function fun.
                      fun, optimization function
                      teps, the difference between a number and 0 or 1, if less than or equal to teps, it is considered to be equal to 0 or 1.
    Out parameter: 
                      Re, return minimum. 
                      TP, angle corresponding to minimum value
                      hkl, direction of minimum value. 



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
   ========================= max or min search ==============================...



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 6
roundN


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 222
      oA = round(A,N) rounds to N digits:

      N > 0: round to N digits to the right of the decimal point.
      N = 0: round to the nearest integer.
      N < 0: round to N digits to the left of the decimal point.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
      oA = round(A,N) rounds to N digits:

      N > 0: round to N digits t...





