| Function or value |
Description
|
Full Usage:
boundsIsScalar bounds
Parameters:
int[,]
Returns: bool
|
Checks if the full bounds is a scalar location
|
Full Usage:
boundsToLocation bounds
Parameters:
int[,]
Returns: int[]
|
Converts the array of three-position bounds specifications to a location.
|
Full Usage:
boundsToShape bounds
Parameters:
int[,]
Returns: int[]
|
Converts the array of three-position bounds specifications to a shape without squeezing out scalars
|
Full Usage:
dilatedCoordinates coordinates dilations
Parameters:
int[]
dilations : int[]
Returns: int array
|
Dilates the given coordinates.
|
Full Usage:
flatIndexToIndex shape flatIndex
Parameters:
int[]
flatIndex : int
Returns: int array
|
Converts the given flat index to an index in the context of the given shape.
|
Full Usage:
indexToFlatIndex shape index
Parameters:
int[]
index : int[]
Returns: int
|
Converts the given index to a flat index in the context of the given shape.
|
Full Usage:
mirrorCoordinates coordinates shape mirrorDims
Parameters:
int[]
shape : int[]
mirrorDims : int[]
Returns: int array
|
Mirrors the coordinates in the given dimensions in the context of the given shape.
|
|
|
|
|
© Copyright 2021, DiffSharp and dfx Contributors.