Class Jagged
  
  
  
  
    Inheritance
    System.Object
    Jagged
   
  
  Assembly: ISynergy.Framework.Mathematics.dll
  Syntax
  
    public static class Jagged : object
   
  Methods
  
  
  
    View Source
  
  
  ColumnVector<T>(T[])
  Creates a Nx1 matrix with a single column vector of size N.
 
  
  Declaration
  
    public static T[][] ColumnVector<T>(params T[] values)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T[] | 
        values | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Convert(Array, Type)
  Converts the values of a tensor.
 
  
  Declaration
  
    public static Array Convert(this Array array, Type type)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Array | 
        array | 
        The tensor to be converted. 
 | 
      
      
        | Type | 
        type | 
        The type of the output. 
 | 
      
    
  
  Returns
  
  
  
    View Source
  
  
  Convert<TOutput>(Array)
  Converts the values of a tensor.
 
  
  Declaration
  
    public static Array Convert<TOutput>(this Array array)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Array | 
        array | 
        The tensor to be converted. 
 | 
      
    
  
  Returns
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | TOutput | 
        The type of the output. 
 | 
      
    
  
  
  
    View Source
  
  
  Convert<TInput, TOutput>(TInput[][])
  Converts the values of a matrix using the default converter.
 
  
  Declaration
  
    public static TOutput[][] Convert<TInput, TOutput>(this TInput[][] matrix)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | TInput[][] | 
        matrix | 
        The matrix to be converted. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | TOutput[][] | 
         | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | TInput | 
        The type of the input. 
 | 
      
      
        | TOutput | 
        The type of the output. 
 | 
      
    
  
  
  
    View Source
  
  
  Convert<TInput, TOutput>(TInput[][], Converter<TInput, TOutput>)
  Converts the values of a matrix using the given converter expression.
 
  
  Declaration
  
    public static TOutput[][] Convert<TInput, TOutput>(this TInput[][] matrix, Converter<TInput, TOutput> converter)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | TInput[][] | 
        matrix | 
        The vector to be converted. 
 | 
      
      
        | Converter<TInput, TOutput> | 
        converter | 
        The converter function. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | TOutput[][] | 
         | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | TInput | 
        The type of the input. 
 | 
      
      
        | TOutput | 
        The type of the output. 
 | 
      
    
  
  
  
    View Source
  
  
  Convert<TInput, TOutput>(TInput[,])
  Converts the values of a matrix using the default converter.
 
  
  Declaration
  
    public static TOutput[][] Convert<TInput, TOutput>(TInput[, ] matrix)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | TInput[,] | 
        matrix | 
        The matrix to be converted. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | TOutput[][] | 
         | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | TInput | 
        The type of the input. 
 | 
      
      
        | TOutput | 
        The type of the output. 
 | 
      
    
  
  
  
    View Source
  
  
  Convert<TInput, TOutput>(TInput[,], Converter<TInput, TOutput>)
  Converts the values of a matrix using the given converter expression.
 
  
  Declaration
  
    public static TOutput[][] Convert<TInput, TOutput>(this TInput[, ] matrix, Converter<TInput, TOutput> converter)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | TInput[,] | 
        matrix | 
        The vector to be converted. 
 | 
      
      
        | Converter<TInput, TOutput> | 
        converter | 
        The converter function. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | TOutput[][] | 
         | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | TInput | 
        The type of the input. 
 | 
      
      
        | TOutput | 
        The type of the output. 
 | 
      
    
  
  
  
    View Source
  
  
  Create(Type, Int32[], Object)
  Creates a jagged matrix with all values set to a given value.
 
  
  Declaration
  
    public static Array Create(Type elementType, int[] shape, object value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Type | 
        elementType | 
        The type of the elements to be contained in the matrix. 
 | 
      
      
        | System.Int32[] | 
        shape | 
        The number of dimensions that the matrix should have. 
 | 
      
      
        | System.Object | 
        value | 
        The initial values for the vector. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | Array | 
        A matrix of the specified size. 
 | 
      
    
  
  
  
    View Source
  
  
  Create<T>(T[][])
  Creates a matrix with the given rows.
 
  
  Declaration
  
    public static T[][] Create<T>(params T[][] rows)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T[][] | 
        rows | 
        The row vectors in the matrix. 
 | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Create<T>(T[,])
  Creates a matrix with the given values.
 
  
  Declaration
  
    public static T[][] Create<T>(T[, ] values)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T[,] | 
        values | 
        The values in the matrix. 
 | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Create<T>(Int32, Int32, T)
  Creates a jagged matrix with all values set to a given value.
 
  
  Declaration
  
    public static T[][] Create<T>(int rows, int columns, T value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
        The number of rows in the matrix. 
 | 
      
      
        | System.Int32 | 
        columns | 
        The number of columns in the matrix. 
 | 
      
      
        | T | 
        value | 
        The initial values for the vector. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        A matrix of the specified size. 
 | 
      
    
  
  Type Parameters
  
  
  
    View Source
  
  
  Create<T>(Int32, Int32, T[])
  Creates a matrix with all values set to a given value.
 
  
  Declaration
  
    public static T[][] Create<T>(int rows, int columns, params T[] values)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
        The number of rows in the matrix. 
 | 
      
      
        | System.Int32 | 
        columns | 
        The number of columns in the matrix. 
 | 
      
      
        | T[] | 
        values | 
        The initial values for the matrix. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        A matrix of the specified size. 
 | 
      
    
  
  Type Parameters
  
  
  
    View Source
  
  
  Create<T>(Int32, Int32, T[][], Boolean)
  Creates a matrix with all values set to a given value.
 
  
  Declaration
  
    public static T[][] Create<T>(int rows, int columns, T[][] values, bool transpose = false)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
        The number of rows in the matrix. 
 | 
      
      
        | System.Int32 | 
        columns | 
        The number of columns in the matrix. 
 | 
      
      
        | T[][] | 
        values | 
        The initial values for the matrix. 
 | 
      
      
        | System.Boolean | 
        transpose | 
        Whether to transpose the matrix when copying or not. Default is false. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        A matrix of the specified size. 
 | 
      
    
  
  Type Parameters
  
  
  
    View Source
  
  
  Create<T>(Int32[], T)
  Creates a jagged matrix with all values set to a given value.
 
  
  Declaration
  
    public static Array Create<T>(int[] shape, T value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        shape | 
        The number of dimensions that the matrix should have. 
 | 
      
      
        | T | 
        value | 
        The initial values for the vector. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | Array | 
        A matrix of the specified size. 
 | 
      
    
  
  Type Parameters
  
  
  
    View Source
  
  
  CreateAs(Array, Type)
  Creates a new multidimensional matrix with the same shape as another matrix.
 
  
  Declaration
  
    public static Array CreateAs(Array matrix, Type type)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Array | 
        matrix | 
         | 
      
      
        | Type | 
        type | 
         | 
      
    
  
  Returns
  
  
  
    View Source
  
  
  CreateAs<T>(T[][])
  Returns a new multidimensional matrix.
 
  
  Declaration
  
    public static T[][] CreateAs<T>(T[][] matrix)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T[][] | 
        matrix | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  CreateAs<T>(T[,])
  Creates a new multidimensional matrix with the same shape as another matrix.
 
  
  Declaration
  
    public static T[][] CreateAs<T>(T[, ] matrix)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T[,] | 
        matrix | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  CreateAs<TInput, TOutput>(TInput[][])
  Returns a new multidimensional matrix.
 
  
  Declaration
  
    public static TOutput[][] CreateAs<TInput, TOutput>(TInput[][] matrix)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | TInput[][] | 
        matrix | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | TOutput[][] | 
         | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | TInput | 
         | 
      
      
        | TOutput | 
         | 
      
    
  
  
  
    View Source
  
  
  CreateAs<TInput, TOutput>(TInput[][][])
  Returns a new multidimensional matrix.
 
  
  Declaration
  
    public static TOutput[][][] CreateAs<TInput, TOutput>(TInput[][][] matrix)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | TInput[][][] | 
        matrix | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | TOutput[][][] | 
         | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | TInput | 
         | 
      
      
        | TOutput | 
         | 
      
    
  
  
  
    View Source
  
  
  CreateAs<TInput, TOutput>(TInput[,])
  Returns a new multidimensional matrix.
 
  
  Declaration
  
    public static TOutput[][] CreateAs<TInput, TOutput>(TInput[, ] matrix)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | TInput[,] | 
        matrix | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | TOutput[][] | 
         | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | TInput | 
         | 
      
      
        | TOutput | 
         | 
      
    
  
  
  
    View Source
  
  
  Diagonal<T>(T[])
  Return a square matrix with a vector of values on its diagonal.
 
  
  Declaration
  
    public static T[][] Diagonal<T>(T[] values)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T[] | 
        values | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Diagonal<T>(T[], T[][])
  Return a square matrix with a vector of values on its diagonal.
 
  
  Declaration
  
    public static T[][] Diagonal<T>(T[] values, T[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T[] | 
        values | 
         | 
      
      
        | T[][] | 
        result | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Diagonal<T>(T[][][])
  Returns a block-diagonal matrix with the given matrices on its diagonal.
 
  
  Declaration
  
    public static T[][] Diagonal<T>(T[][][] blocks)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T[][][] | 
        blocks | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Diagonal<T>(Int32, T)
  Returns a square diagonal matrix of the given size.
 
  
  Declaration
  
    public static T[][] Diagonal<T>(int size, T value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
      
        | T | 
        value | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Diagonal<T>(Int32, T, T[][])
  Returns a square diagonal matrix of the given size.
 
  
  Declaration
  
    public static T[][] Diagonal<T>(int size, T value, T[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
      
        | T | 
        value | 
         | 
      
      
        | T[][] | 
        result | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Diagonal<T>(Int32, T[])
  Return a square matrix with a vector of values on its diagonal.
 
  
  Declaration
  
    public static T[][] Diagonal<T>(int size, T[] values)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
      
        | T[] | 
        values | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Diagonal<T>(Int32, T[], T[][])
  Return a square matrix with a vector of values on its diagonal.
 
  
  Declaration
  
    public static T[][] Diagonal<T>(int size, T[] values, T[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
      
        | T[] | 
        values | 
         | 
      
      
        | T[][] | 
        result | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Diagonal<T>(Int32, Int32, T)
  Returns a matrix of the given size with value on its diagonal.
 
  
  Declaration
  
    public static T[][] Diagonal<T>(int rows, int cols, T value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        cols | 
         | 
      
      
        | T | 
        value | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Diagonal<T>(Int32, Int32, T, T[][])
  Returns a matrix of the given size with value on its diagonal.
 
  
  Declaration
  
    public static T[][] Diagonal<T>(int rows, int cols, T value, T[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        cols | 
         | 
      
      
        | T | 
        value | 
         | 
      
      
        | T[][] | 
        result | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Diagonal<T>(Int32, Int32, T[])
  Returns a matrix with a vector of values on its diagonal.
 
  
  Declaration
  
    public static T[][] Diagonal<T>(int rows, int cols, T[] values)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        cols | 
         | 
      
      
        | T[] | 
        values | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Diagonal<T>(Int32, Int32, T[], T[][])
  Returns a matrix with a vector of values on its diagonal.
 
  
  Declaration
  
    public static T[][] Diagonal<T>(int rows, int cols, T[] values, T[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        cols | 
         | 
      
      
        | T[] | 
        values | 
         | 
      
      
        | T[][] | 
        result | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Enumerate(Array)
  Enumerates through all elements in a matrix.
 
  
  Declaration
  
    public static IEnumerable Enumerate(this Array array)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Array | 
        array | 
        The array to be iterated. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | IEnumerable | 
         | 
      
    
  
  
  
    View Source
  
  
  Enumerate(Array, Int32[])
  Enumerates through all elements in a matrix.
 
  
  Declaration
  
    public static IEnumerable Enumerate(this Array array, int[] shape)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Array | 
        array | 
        The array to be iterated. 
 | 
      
      
        | System.Int32[] | 
        shape | 
        The full shape of array . 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | IEnumerable | 
         | 
      
    
  
  
  
    View Source
  
  
  Enumerate<T>(Array)
  Enumerates through all elements in a matrix.
 
  
  Declaration
  
    public static IEnumerable<T> Enumerate<T>(this Array array)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Array | 
        array | 
        The array to be iterated. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | IEnumerable<T> | 
         | 
      
    
  
  Type Parameters
  
  
  
    View Source
  
  
  Enumerate<T>(Array, Int32[])
  Enumerates through all elements in a matrix.
 
  
  Declaration
  
    public static IEnumerable<T> Enumerate<T>(this Array array, int[] shape)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Array | 
        array | 
        The array to be iterated. 
 | 
      
      
        | System.Int32[] | 
        shape | 
        The full shape of array . 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | IEnumerable<T> | 
         | 
      
    
  
  Type Parameters
  
  
  
    View Source
  
  
  Identity(Int32)
  Creates a square matrix with ones across its diagonal.
 
  
  Declaration
  
    public static double[][] Identity(int size)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Identity<T>(Int32)
  Creates a square matrix with ones across its diagonal.
 
  
  Declaration
  
    public static T[][] Identity<T>(int size)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  KHot(Boolean[][], Int32)
  Creates a matrix of k-hot vectors, where all values at each row are
zero except for the ones in the positions where mask
are true, which are set to one.
 
  
  Declaration
  
    public static double[][] KHot(bool[][] mask, int columns)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Boolean[][] | 
        mask | 
        The boolean mask determining where ones will be placed. 
 | 
      
      
        | System.Int32 | 
        columns | 
        The size (length) of the vectors (columns of the matrix). 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
        A matrix containing one-hot vectors where only a single position
is one and the others are zero. 
 | 
      
    
  
  
  
    View Source
  
  
  KHot(Int32[][], Double[][])
  Creates a matrix of k-hot vectors, where all values at each row are
zero except for the indicated indices, which are set to one.
 
  
  Declaration
  
    public static double[][] KHot(int[][] indices, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
        indices | 
        The rows's dimension which will be marked as one. 
 | 
      
      
        | System.Double[][] | 
        result | 
        The matrix where the one-hot should be marked. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
        A matrix containing k-hot vectors where only elements at the indicated
indices are set to one and the others are zero. 
 | 
      
    
  
  
  
    View Source
  
  
  KHot(Int32[][], Int32)
  Creates a matrix of k-hot vectors, where all values at each row are
zero except for the indicated indices, which are set to one.
 
  
  Declaration
  
    public static double[][] KHot(int[][] indices, int columns)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
        indices | 
        The rows's dimension which will be marked as one. 
 | 
      
      
        | System.Int32 | 
        columns | 
        The size (length) of the vectors (columns of the matrix). 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
        A matrix containing k-hot vectors where only elements at the indicated
indices are set to one and the others are zero. 
 | 
      
    
  
  
  
    View Source
  
  
  KHot<T>(Boolean[][])
  Creates a matrix of k-hot vectors, where all values at each row are
zero except for the ones in the positions where mask
are true, which are set to one.
 
  
  Declaration
  
    public static T[][] KHot<T>(bool[][] mask)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Boolean[][] | 
        mask | 
        The boolean mask determining where ones will be placed. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        A matrix containing one-hot vectors where only a single position
is one and the others are zero. 
 | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | T | 
        The data type for the matrix. 
 | 
      
    
  
  
  
    View Source
  
  
  KHot<T>(Boolean[][], T[][])
  Creates a matrix of one-hot vectors, where all values at each row are
zero except for the ones in the positions where mask
are true, which are set to one.
 
  
  Declaration
  
    public static T[][] KHot<T>(bool[][] mask, T[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Boolean[][] | 
        mask | 
        The boolean mask determining where ones will be placed. 
 | 
      
      
        | T[][] | 
        result | 
        The matrix where the one-hot should be marked. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        A matrix containing one-hot vectors where only a single position
is one and the others are zero. 
 | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | T | 
        The data type for the matrix. 
 | 
      
    
  
  
  
    View Source
  
  
  KHot<T>(Int32[][], T[][])
  Creates a matrix of k-hot vectors, where all values at each row are
zero except for the indicated indices, which are set to one.
 
  
  Declaration
  
    public static T[][] KHot<T>(int[][] indices, T[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
        indices | 
        The rows's dimension which will be marked as one. 
 | 
      
      
        | T[][] | 
        result | 
        The matrix where the one-hot should be marked. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        A matrix containing k-hot vectors where only elements at the indicated
indices are set to one and the others are zero. 
 | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | T | 
        The data type for the matrix. 
 | 
      
    
  
  
  
    View Source
  
  
  KHot<T>(Int32[][], Int32)
  Creates a matrix of k-hot vectors, where all values at each row are
zero except for the indicated indices, which are set to one.
 
  
  Declaration
  
    public static T[][] KHot<T>(int[][] indices, int columns)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
        indices | 
        The rows's dimension which will be marked as one. 
 | 
      
      
        | System.Int32 | 
        columns | 
        The size (length) of the vectors (columns of the matrix). 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        A matrix containing k-hot vectors where only elements at the indicated
indices are set to one and the others are zero. 
 | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | T | 
        The data type for the matrix. 
 | 
      
    
  
  
  
    View Source
  
  
  Magic(Int32)
  Creates a jagged magic square matrix.
 
  
  Declaration
  
    public static double[][] Magic(int size)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  OneHot(Int32[])
  Creates a matrix of one-hot vectors, where all values at each row are
zero except for the indicated indices, which is set to one.
 
  
  Declaration
  
    public static double[][] OneHot(int[] indices)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        indices | 
        The rows's dimension which will be marked as one. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
        A matrix containing one-hot vectors where only a single position
is one and the others are zero. 
 | 
      
    
  
  
  
    View Source
  
  
  OneHot(Int32[], Double[][])
  Creates a matrix of one-hot vectors, where all values at each row are
zero except for the indicated indices, which is set to one.
 
  
  Declaration
  
    public static double[][] OneHot(int[] indices, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        indices | 
        The rows's dimension which will be marked as one. 
 | 
      
      
        | System.Double[][] | 
        result | 
        The matrix where the one-hot should be marked. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
        A matrix containing one-hot vectors where only a single position
is one and the others are zero. 
 | 
      
    
  
  
  
    View Source
  
  
  OneHot(Int32[], Int32)
  Creates a matrix of one-hot vectors, where all values at each row are
zero except for the indicated indices, which is set to one.
 
  
  Declaration
  
    public static double[][] OneHot(int[] indices, int columns)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        indices | 
        The rows's dimension which will be marked as one. 
 | 
      
      
        | System.Int32 | 
        columns | 
        The size (length) of the vectors (columns of the matrix). 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
        A matrix containing one-hot vectors where only a single position
is one and the others are zero. 
 | 
      
    
  
  
  
    View Source
  
  
  OneHot<T>(Boolean[])
  Creates a matrix of one-hot vectors, where all values at each row are
zero except for the ones in the positions where mask
are true, which are set to one.
 
  
  Declaration
  
    public static T[][] OneHot<T>(bool[] mask)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Boolean[] | 
        mask | 
        The boolean mask determining where ones will be placed. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        A matrix containing one-hot vectors where only a single position
is one and the others are zero. 
 | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | T | 
        The data type for the matrix. 
 | 
      
    
  
  
  
    View Source
  
  
  OneHot<T>(Boolean[], T[][])
  Creates a matrix of one-hot vectors, where all values at each row are
zero except for the ones in the positions where mask
are true, which are set to one.
 
  
  Declaration
  
    public static T[][] OneHot<T>(bool[] mask, T[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Boolean[] | 
        mask | 
        The boolean mask determining where ones will be placed. 
 | 
      
      
        | T[][] | 
        result | 
        The matrix where the one-hot should be marked. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        A matrix containing one-hot vectors where only a single position
is one and the others are zero. 
 | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | T | 
        The data type for the matrix. 
 | 
      
    
  
  
  
    View Source
  
  
  OneHot<T>(Int32[])
  Creates a matrix of one-hot vectors, where all values at each row are
zero except for the indicated indices, which is set to one.
 
  
  Declaration
  
    public static T[][] OneHot<T>(int[] indices)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        indices | 
        The rows's dimension which will be marked as one. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        A matrix containing one-hot vectors where only a single position
is one and the others are zero. 
 | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | T | 
        The data type for the matrix. 
 | 
      
    
  
  
  
    View Source
  
  
  OneHot<T>(Int32[], T[][])
  Creates a matrix of one-hot vectors, where all values at each row are
zero except for the indicated indices, which is set to one.
 
  
  Declaration
  
    public static T[][] OneHot<T>(int[] indices, T[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        indices | 
        The rows's dimension which will be marked as one. 
 | 
      
      
        | T[][] | 
        result | 
        The matrix where the one-hot should be marked. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        A matrix containing one-hot vectors where only a single position
is one and the others are zero. 
 | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | T | 
        The data type for the matrix. 
 | 
      
    
  
  
  
    View Source
  
  
  OneHot<T>(Int32[], Int32)
  Creates a matrix of one-hot vectors, where all values at each row are
zero except for the indicated indices, which is set to one.
 
  
  Declaration
  
    public static T[][] OneHot<T>(int[] indices, int columns)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        indices | 
        The rows's dimension which will be marked as one. 
 | 
      
      
        | System.Int32 | 
        columns | 
        The size (length) of the vectors (columns of the matrix). 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        A matrix containing one-hot vectors where only a single position
is one and the others are zero. 
 | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | T | 
        The data type for the matrix. 
 | 
      
    
  
  
  
    View Source
  
  
  Ones(Int32, Int32)
  Creates a zero-valued matrix.
 
  
  Declaration
  
    public static double[][] Ones(int rows, int columns)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
        The number of rows in the matrix. 
 | 
      
      
        | System.Int32 | 
        columns | 
        The number of columns in the matrix. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
        A vector of the specified size. 
 | 
      
    
  
  
  
    View Source
  
  
  Ones<T>(Int32, Int32)
  Creates a zero-valued matrix.
 
  
  Declaration
  
    public static T[][] Ones<T>(int rows, int columns)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
        The number of rows in the matrix. 
 | 
      
      
        | System.Int32 | 
        columns | 
        The number of columns in the matrix. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        A matrix of the specified size. 
 | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | T | 
        The type of the matrix to be created. 
 | 
      
    
  
  
  
    View Source
  
  
  Outer(Byte[], Byte[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static byte[][] Outer(byte[] a, byte[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Byte[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Byte[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Byte[], Byte[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static byte[][] Outer(byte[] a, byte[] b, byte[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Byte[] | 
        b | 
         | 
      
      
        | System.Byte[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Byte[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Byte[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(byte[] a, byte[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Byte[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Byte[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(byte[] a, byte[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Byte[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Double[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(byte[] a, double[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Double[], Byte[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static byte[][] Outer(byte[] a, double[] b, byte[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Byte[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Byte[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Double[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(byte[] a, double[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Double[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(byte[] a, double[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Int32[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(byte[] a, int[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Int32[], Byte[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static byte[][] Outer(byte[] a, int[] b, byte[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Byte[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Byte[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Int32[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(byte[] a, int[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Int32[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(byte[] a, int[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Single[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(byte[] a, float[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Single[], Byte[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static byte[][] Outer(byte[] a, float[] b, byte[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Byte[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Byte[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Single[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(byte[] a, float[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Single[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(byte[] a, float[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Byte[], Single[], Single[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(byte[] a, float[] b, float[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Single[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Decimal[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static decimal[][] Outer(decimal[] a, decimal[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Decimal[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Decimal[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Decimal[], Decimal[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static decimal[][] Outer(decimal[] a, decimal[] b, decimal[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Decimal[] | 
        b | 
         | 
      
      
        | System.Decimal[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Decimal[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Decimal[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(decimal[] a, decimal[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Decimal[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Decimal[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(decimal[] a, decimal[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Decimal[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Double[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(decimal[] a, double[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Double[], Decimal[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static decimal[][] Outer(decimal[] a, double[] b, decimal[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Decimal[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Decimal[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Double[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(decimal[] a, double[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Double[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(decimal[] a, double[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Int32[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(decimal[] a, int[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Int32[], Decimal[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static decimal[][] Outer(decimal[] a, int[] b, decimal[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Decimal[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Decimal[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Int32[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(decimal[] a, int[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Int32[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(decimal[] a, int[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Single[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(decimal[] a, float[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Single[], Decimal[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static decimal[][] Outer(decimal[] a, float[] b, decimal[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Decimal[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Decimal[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Single[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(decimal[] a, float[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Single[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(decimal[] a, float[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Decimal[], Single[], Single[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(decimal[] a, float[] b, float[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Decimal[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Single[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Double[], Double[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(double[] a, double[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Double[], Double[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(double[] a, double[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Double[], Double[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(double[] a, double[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Double[], Int32[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(double[] a, int[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Double[], Int32[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(double[] a, int[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Double[], Int32[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(double[] a, int[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Double[], Single[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(double[] a, float[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Double[], Single[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(double[] a, float[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Double[], Single[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(double[] a, float[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Double[], Single[], Single[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(double[] a, float[] b, float[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Single[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Double[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(short[] a, double[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Double[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(short[] a, double[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Double[], Int16[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static short[][] Outer(short[] a, double[] b, short[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Int16[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int16[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Double[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(short[] a, double[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Int16[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static short[][] Outer(short[] a, short[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Int16[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int16[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Int16[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(short[] a, short[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Int16[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Int16[], Int16[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static short[][] Outer(short[] a, short[] b, short[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Int16[] | 
        b | 
         | 
      
      
        | System.Int16[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int16[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Int16[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(short[] a, short[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Int16[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Int32[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(short[] a, int[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Int32[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(short[] a, int[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Int32[], Int16[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static short[][] Outer(short[] a, int[] b, short[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Int16[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int16[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Int32[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(short[] a, int[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Single[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(short[] a, float[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Single[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(short[] a, float[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Single[], Int16[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static short[][] Outer(short[] a, float[] b, short[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Int16[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int16[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Single[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(short[] a, float[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int16[], Single[], Single[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(short[] a, float[] b, float[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int16[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Single[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int32[], Double[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(int[] a, double[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int32[], Double[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(int[] a, double[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int32[], Double[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(int[] a, double[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int32[], Int32[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(int[] a, int[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int32[], Int32[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(int[] a, int[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int32[], Int32[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(int[] a, int[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int32[], Single[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(int[] a, float[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int32[], Single[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(int[] a, float[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int32[], Single[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(int[] a, float[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int32[], Single[], Single[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(int[] a, float[] b, float[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Single[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Double[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(long[] a, double[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Double[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(long[] a, double[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Double[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(long[] a, double[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Double[], Int64[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static long[][] Outer(long[] a, double[] b, long[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Int64[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int64[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Int32[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(long[] a, int[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Int32[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(long[] a, int[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Int32[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(long[] a, int[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Int32[], Int64[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static long[][] Outer(long[] a, int[] b, long[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Int64[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int64[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Int64[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static long[][] Outer(long[] a, long[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Int64[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int64[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Int64[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(long[] a, long[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Int64[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Int64[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(long[] a, long[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Int64[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Int64[], Int64[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static long[][] Outer(long[] a, long[] b, long[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Int64[] | 
        b | 
         | 
      
      
        | System.Int64[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int64[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Single[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(long[] a, float[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Single[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(long[] a, float[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Single[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(long[] a, float[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Single[], Int64[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static long[][] Outer(long[] a, float[] b, long[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Int64[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int64[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Int64[], Single[], Single[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(long[] a, float[] b, float[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int64[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Single[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], Double[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(sbyte[] a, double[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], Double[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(sbyte[] a, double[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], Double[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(sbyte[] a, double[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], Double[], SByte[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static sbyte[][] Outer(sbyte[] a, double[] b, sbyte[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.SByte[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.SByte[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], Int32[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(sbyte[] a, int[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], Int32[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(sbyte[] a, int[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], Int32[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(sbyte[] a, int[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], Int32[], SByte[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static sbyte[][] Outer(sbyte[] a, int[] b, sbyte[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.SByte[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.SByte[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], SByte[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static sbyte[][] Outer(sbyte[] a, sbyte[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.SByte[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.SByte[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], SByte[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(sbyte[] a, sbyte[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.SByte[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], SByte[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(sbyte[] a, sbyte[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.SByte[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], SByte[], SByte[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static sbyte[][] Outer(sbyte[] a, sbyte[] b, sbyte[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.SByte[] | 
        b | 
         | 
      
      
        | System.SByte[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.SByte[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], Single[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(sbyte[] a, float[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], Single[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(sbyte[] a, float[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], Single[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(sbyte[] a, float[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], Single[], SByte[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static sbyte[][] Outer(sbyte[] a, float[] b, sbyte[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.SByte[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.SByte[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(SByte[], Single[], Single[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(sbyte[] a, float[] b, float[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.SByte[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Single[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Single[], Double[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(float[] a, double[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Single[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Single[], Double[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(float[] a, double[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Single[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Single[], Double[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(float[] a, double[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Single[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Single[], Double[], Single[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(float[] a, double[] b, float[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Single[] | 
        a | 
         | 
      
      
        | System.Double[] | 
        b | 
         | 
      
      
        | System.Single[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Single[], Int32[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(float[] a, int[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Single[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Single[], Int32[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(float[] a, int[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Single[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Single[], Int32[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(float[] a, int[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Single[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Single[], Int32[], Single[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(float[] a, int[] b, float[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Single[] | 
        a | 
         | 
      
      
        | System.Int32[] | 
        b | 
         | 
      
      
        | System.Single[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Single[], Single[])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(float[] a, float[] b)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Single[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Single[], Single[], Double[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static double[][] Outer(float[] a, float[] b, double[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Single[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Single[], Single[], Int32[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static int[][] Outer(float[] a, float[] b, int[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Single[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Outer(Single[], Single[], Single[][])
  Gets the outer product (matrix product) between two vectors (a*bT).
 
  
  Declaration
  
    public static float[][] Outer(float[] a, float[] b, float[][] result)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Single[] | 
        a | 
         | 
      
      
        | System.Single[] | 
        b | 
         | 
      
      
        | System.Single[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
  
  
    View Source
  
  
  Parse(String)
  Converts the string representation of a matrix to its
double-precision floating-point number matrix equivalent.
 
  
  Declaration
  
    public static double[][] Parse(string str)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        str | 
        The string representation of the matrix. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
        A double-precision floating-point number matrix parsed
from the given string using the given format provider. 
 | 
      
    
  
  
  
    View Source
  
  
  
  Converts the string representation of a matrix to its
double-precision floating-point number matrix equivalent.
 
  
  Declaration
  
    public static double[][] Parse(string str, IMatrixFormatProvider provider)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        str | 
        The string representation of the matrix. 
 | 
      
      
        | IMatrixFormatProvider | 
        provider | 
        The format provider to use in the conversion. Default is to use
CurrentCulture. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
        A double-precision floating-point number matrix parsed
from the given string using the given format provider. 
 | 
      
    
  
  
  
    View Source
  
  
  Random(Int32)
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static double[][] Random(int size)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Byte, Byte, Boolean, Byte[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static byte[][] Random(int size, byte min, byte max, bool symmetric = false, byte[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
      
        | System.Byte | 
        min | 
         | 
      
      
        | System.Byte | 
        max | 
         | 
      
      
        | System.Boolean | 
        symmetric | 
         | 
      
      
        | System.Byte[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Byte[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Decimal, Decimal, Boolean, Decimal[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static decimal[][] Random(int size, decimal min, decimal max, bool symmetric = false, decimal[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
      
        | System.Decimal | 
        min | 
         | 
      
      
        | System.Decimal | 
        max | 
         | 
      
      
        | System.Boolean | 
        symmetric | 
         | 
      
      
        | System.Decimal[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Decimal[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Double, Double, Boolean, Double[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static double[][] Random(int size, double min, double max, bool symmetric = false, double[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
      
        | System.Double | 
        min | 
         | 
      
      
        | System.Double | 
        max | 
         | 
      
      
        | System.Boolean | 
        symmetric | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Int16, Int16, Boolean, Int16[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static short[][] Random(int size, short min, short max, bool symmetric = false, short[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
      
        | System.Int16 | 
        min | 
         | 
      
      
        | System.Int16 | 
        max | 
         | 
      
      
        | System.Boolean | 
        symmetric | 
         | 
      
      
        | System.Int16[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int16[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Int32)
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static double[][] Random(int rows, int columns)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        columns | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Int32, Byte, Byte, Byte[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static byte[][] Random(int rows, int columns, byte min, byte max, byte[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        columns | 
         | 
      
      
        | System.Byte | 
        min | 
         | 
      
      
        | System.Byte | 
        max | 
         | 
      
      
        | System.Byte[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Byte[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Int32, Decimal, Decimal, Decimal[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static decimal[][] Random(int rows, int columns, decimal min, decimal max, decimal[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        columns | 
         | 
      
      
        | System.Decimal | 
        min | 
         | 
      
      
        | System.Decimal | 
        max | 
         | 
      
      
        | System.Decimal[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Decimal[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Int32, Double, Double, Double[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static double[][] Random(int rows, int columns, double min, double max, double[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        columns | 
         | 
      
      
        | System.Double | 
        min | 
         | 
      
      
        | System.Double | 
        max | 
         | 
      
      
        | System.Double[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Int32, Int16, Int16, Int16[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static short[][] Random(int rows, int columns, short min, short max, short[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        columns | 
         | 
      
      
        | System.Int16 | 
        min | 
         | 
      
      
        | System.Int16 | 
        max | 
         | 
      
      
        | System.Int16[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int16[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Int32, Int32, Boolean, Int32[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static int[][] Random(int size, int min, int max, bool symmetric = false, int[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
      
        | System.Int32 | 
        min | 
         | 
      
      
        | System.Int32 | 
        max | 
         | 
      
      
        | System.Boolean | 
        symmetric | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Int32, Int32, Int32, Int32[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static int[][] Random(int rows, int columns, int min, int max, int[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        columns | 
         | 
      
      
        | System.Int32 | 
        min | 
         | 
      
      
        | System.Int32 | 
        max | 
         | 
      
      
        | System.Int32[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Int32, Int64, Int64, Int64[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static long[][] Random(int rows, int columns, long min, long max, long[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        columns | 
         | 
      
      
        | System.Int64 | 
        min | 
         | 
      
      
        | System.Int64 | 
        max | 
         | 
      
      
        | System.Int64[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int64[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Int32, SByte, SByte, SByte[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static sbyte[][] Random(int rows, int columns, sbyte min, sbyte max, sbyte[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        columns | 
         | 
      
      
        | System.SByte | 
        min | 
         | 
      
      
        | System.SByte | 
        max | 
         | 
      
      
        | System.SByte[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.SByte[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Int32, Single, Single, Single[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static float[][] Random(int rows, int columns, float min, float max, float[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        columns | 
         | 
      
      
        | System.Single | 
        min | 
         | 
      
      
        | System.Single | 
        max | 
         | 
      
      
        | System.Single[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Int32, UInt16, UInt16, UInt16[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static ushort[][] Random(int rows, int columns, ushort min, ushort max, ushort[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        columns | 
         | 
      
      
        | System.UInt16 | 
        min | 
         | 
      
      
        | System.UInt16 | 
        max | 
         | 
      
      
        | System.UInt16[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.UInt16[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Int32, UInt64, UInt64, UInt64[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static ulong[][] Random(int rows, int columns, ulong min, ulong max, ulong[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        columns | 
         | 
      
      
        | System.UInt64 | 
        min | 
         | 
      
      
        | System.UInt64 | 
        max | 
         | 
      
      
        | System.UInt64[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.UInt64[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Int64, Int64, Boolean, Int64[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static long[][] Random(int size, long min, long max, bool symmetric = false, long[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
      
        | System.Int64 | 
        min | 
         | 
      
      
        | System.Int64 | 
        max | 
         | 
      
      
        | System.Boolean | 
        symmetric | 
         | 
      
      
        | System.Int64[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int64[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, SByte, SByte, Boolean, SByte[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static sbyte[][] Random(int size, sbyte min, sbyte max, bool symmetric = false, sbyte[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
      
        | System.SByte | 
        min | 
         | 
      
      
        | System.SByte | 
        max | 
         | 
      
      
        | System.Boolean | 
        symmetric | 
         | 
      
      
        | System.SByte[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.SByte[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, Single, Single, Boolean, Single[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static float[][] Random(int size, float min, float max, bool symmetric = false, float[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
      
        | System.Single | 
        min | 
         | 
      
      
        | System.Single | 
        max | 
         | 
      
      
        | System.Boolean | 
        symmetric | 
         | 
      
      
        | System.Single[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, UInt16, UInt16, Boolean, UInt16[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static ushort[][] Random(int size, ushort min, ushort max, bool symmetric = false, ushort[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
      
        | System.UInt16 | 
        min | 
         | 
      
      
        | System.UInt16 | 
        max | 
         | 
      
      
        | System.Boolean | 
        symmetric | 
         | 
      
      
        | System.UInt16[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.UInt16[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random(Int32, UInt64, UInt64, Boolean, UInt64[][])
  Creates a matrix with uniformly distributed random data.
 
  
  Declaration
  
    public static ulong[][] Random(int size, ulong min, ulong max, bool symmetric = false, ulong[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
      
        | System.UInt64 | 
        min | 
         | 
      
      
        | System.UInt64 | 
        max | 
         | 
      
      
        | System.Boolean | 
        symmetric | 
         | 
      
      
        | System.UInt64[][] | 
        result | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.UInt64[][] | 
         | 
      
    
  
  
  
    View Source
  
  
  Random<T>(Int32, IRandomNumberGenerator<T>, Boolean, T[][])
  Creates a square matrix matrix with random data.
 
  
  Declaration
  
    public static T[][] Random<T>(int size, IRandomNumberGenerator<T> generator, bool symmetric = false, T[][] result = null)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
         | 
      
      
        | IRandomNumberGenerator<T> | 
        generator | 
         | 
      
      
        | System.Boolean | 
        symmetric | 
         | 
      
      
        | T[][] | 
        result | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Random<T>(Int32, Int32, IRandomNumberGenerator<T>, T[][])
  Creates a rows-by-cols matrix with random data.
 
  
  Declaration
  
    public static T[][] Random<T>(int rows, int cols, IRandomNumberGenerator<T> generator, T[][] result = null)
   
  Parameters
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Reshape<T>(T[], Int32, Int32, T[][], MatrixOrder)
  Transforms a vector into a matrix of given dimensions.
 
  
  Declaration
  
    public static T[][] Reshape<T>(this T[] array, int rows, int cols, T[][] result, MatrixOrder order = default(MatrixOrder))
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T[] | 
        array | 
         | 
      
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        cols | 
         | 
      
      
        | T[][] | 
        result | 
         | 
      
      
        | MatrixOrder | 
        order | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Reshape<T>(T[], Int32, Int32, MatrixOrder)
  Transforms a vector into a matrix of given dimensions.
 
  
  Declaration
  
    public static T[][] Reshape<T>(T[] array, int rows, int cols, MatrixOrder order = default(MatrixOrder))
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T[] | 
        array | 
         | 
      
      
        | System.Int32 | 
        rows | 
         | 
      
      
        | System.Int32 | 
        cols | 
         | 
      
      
        | MatrixOrder | 
        order | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  RowVector<T>(T[])
  Creates a 1xN matrix with a single row vector of size N.
 
  
  Declaration
  
    public static T[][] RowVector<T>(params T[] values)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T[] | 
        values | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
  
    View Source
  
  
  Square<T>(Int32, T)
  Creates a jagged matrix with all values set to a given value.
 
  
  Declaration
  
    public static T[][] Square<T>(int size, T value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        size | 
        The number of rows and columns in the matrix. 
 | 
      
      
        | T | 
        value | 
        The initial values for the matrix. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        A matrix of the specified size. 
 | 
      
    
  
  Type Parameters
  
  See Also
  
  
  
    View Source
  
  
  Transpose<T>(T[,])
  Gets the transpose of a matrix.
 
  
  Declaration
  
    public static T[][] Transpose<T>(T[, ] matrix)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T[,] | 
        matrix | 
        A matrix. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        The transpose of the given matrix. 
 | 
      
    
  
  Type Parameters
  
  
  
    View Source
  
  
  
  Converts the string representation of a matrix to its
double-precision floating-point number matrix equivalent.
A return value indicates whether the conversion succeeded or failed.
 
  
  Declaration
  
    public static bool TryParse(string s, IMatrixFormatProvider provider, out double[][] matrix)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        s | 
        The string representation of the matrix. 
 | 
      
      
        | IMatrixFormatProvider | 
        provider | 
        The format provider to use in the conversion. Default is to use
CurrentCulture. 
 | 
      
      
        | System.Double[][] | 
        matrix | 
        A double-precision floating-point number matrix parsed
from the given string using the given format provider. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
    View Source
  
  
  Zeros(Int32, Int32)
  Creates a zero-valued matrix.
 
  
  Declaration
  
    public static double[][] Zeros(int rows, int columns)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
        The number of rows in the matrix. 
 | 
      
      
        | System.Int32 | 
        columns | 
        The number of columns in the matrix. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][] | 
        A vector of the specified size. 
 | 
      
    
  
  
  
    View Source
  
  
  Zeros(Int32, Int32, Int32)
  Creates a zero-valued rank-3 tensor.
 
  
  Declaration
  
    public static double[][][] Zeros(int rows, int columns, int depth)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
        The number of rows in the tensor. 
 | 
      
      
        | System.Int32 | 
        columns | 
        The number of columns in the tensor. 
 | 
      
      
        | System.Int32 | 
        depth | 
        The number of channels in the tensor. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double[][][] | 
        A matrix of the specified size. 
 | 
      
    
  
  
  
    View Source
  
  
  Zeros(Type, Int32[])
  Creates a jagged matrix with all values set to zero.
 
  
  Declaration
  
    public static Array Zeros(Type elementType, params int[] shape)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Type | 
        elementType | 
        The type of the elements to be contained in the matrix. 
 | 
      
      
        | System.Int32[] | 
        shape | 
        The number of dimensions that the matrix should have. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | Array | 
        A matrix of the specified size. 
 | 
      
    
  
  
  
    View Source
  
  
  Zeros<T>(Int32, Int32)
  Creates a zero-valued matrix.
 
  
  Declaration
  
    public static T[][] Zeros<T>(int rows, int columns)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
        The number of rows in the matrix. 
 | 
      
      
        | System.Int32 | 
        columns | 
        The number of columns in the matrix. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][] | 
        A matrix of the specified size. 
 | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | T | 
        The type of the matrix to be created. 
 | 
      
    
  
  
  
    View Source
  
  
  Zeros<T>(Int32, Int32, Int32)
  Creates a zero-valued rank-3 tensor.
 
  
  Declaration
  
    public static T[][][] Zeros<T>(int rows, int columns, int depth)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        rows | 
        The number of rows in the tensor. 
 | 
      
      
        | System.Int32 | 
        columns | 
        The number of columns in the tensor. 
 | 
      
      
        | System.Int32 | 
        depth | 
        The number of channels in the tensor. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | T[][][] | 
        A matrix of the specified size. 
 | 
      
    
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | T | 
        The type of the matrix to be created. 
 | 
      
    
  
  
  
    View Source
  
  
  Zeros<T>(Int32[])
  Creates a jagged matrix with all values set to zero.
 
  
  Declaration
  
    public static Array Zeros<T>(params int[] shape)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32[] | 
        shape | 
        The number of dimensions that the matrix should have. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | Array | 
        A matrix of the specified size. 
 | 
      
    
  
  Type Parameters
  
  See Also