Vocabulary math .
matrices .
extras Inputs Outputs Word description Create a box matrix (a
square-matrix ) with the dimensions of
r x r , filled with ones. The number of elements in the output scales linearly (
(r*2)+1 ) with
r .
Examples USING: math.matrices.extras prettyprint ;
2 <box-matrix> .{
{ 1 1 1 1 1 }
{ 1 1 1 1 1 }
{ 1 1 1 1 1 }
{ 1 1 1 1 1 }
{ 1 1 1 1 1 }
}
USING: math.matrices.extras prettyprint ;
3 <box-matrix> .{
{ 1 1 1 1 1 1 1 }
{ 1 1 1 1 1 1 1 }
{ 1 1 1 1 1 1 1 }
{ 1 1 1 1 1 1 1 }
{ 1 1 1 1 1 1 1 }
{ 1 1 1 1 1 1 1 }
{ 1 1 1 1 1 1 1 }
}
Definition
This documentation was generated offline from a
load-all
image. If you want, you can also
browse the documentation from within the UI developer tools . See
the Factor website
for more information.
Factor 0.101 x86.64 (2287, heads/master-f4b0c147f7, Dec 8 2024 14:00:16)