WOLFRAM

represents an array of ones with unspecified dimensions.

SymbolicOnesArray[{n1,n2,}]

represents an n1×n2× array of ones.

Details

  • Valid dimension specifications ni in SymbolicOnesArray[{n1,n2,}] are positive integers. It is also possible to work with symbolic dimension specifications.
  • SymbolicOnesArray may be produced by arithmetic operations and differentiation involving ArraySymbol objects.
  • For an array a=SymbolicOnesArray[{n1,n2,}] with positive integer dimension specifications ni, Normal[a] converts a to an explicit array. SparseArray[a] converts a to a SparseArray.

Examples

open allclose all

Basic Examples  (3)Summary of the most common use cases

Arithmetic operations may return a SymbolicOnesArray:

Out[2]=2

The derivative of an array expression may involve a SymbolicOnesArray:

Out[2]=2

Create a SymbolicOnesArray with explicit numeric dimensions:

Out[1]=1

Convert a to an explicit array:

Out[2]=2

Convert a to a SparseArray:

Out[3]=3

Scope  (2)Survey of the scope of standard use cases

Arithmetic operations:

Out[1]=1
Out[2]=2
Out[3]=3
Out[4]=4

Array operations:

Out[1]=1
Out[2]=2

Properties & Relations  (3)Properties of the function, and connections to other functions

SymbolicOnesArray gives a symbolic representation of the array:

Out[1]=1

ConstantArray gives an explicit array:

Out[2]=2

Use Normal to convert a to an explicit array:

Out[3]=3

SymbolicZerosArray gives an array of zeros:

Out[1]=1
Out[2]=2

SymbolicOnesArray is a special case of SymbolicDeltaProductArray:

Out[1]=1
Wolfram Research (2024), SymbolicOnesArray, Wolfram Language function, https://reference.wolfram.com/language/ref/SymbolicOnesArray.html.
Wolfram Research (2024), SymbolicOnesArray, Wolfram Language function, https://reference.wolfram.com/language/ref/SymbolicOnesArray.html.

Text

Wolfram Research (2024), SymbolicOnesArray, Wolfram Language function, https://reference.wolfram.com/language/ref/SymbolicOnesArray.html.

Wolfram Research (2024), SymbolicOnesArray, Wolfram Language function, https://reference.wolfram.com/language/ref/SymbolicOnesArray.html.

CMS

Wolfram Language. 2024. "SymbolicOnesArray." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SymbolicOnesArray.html.

Wolfram Language. 2024. "SymbolicOnesArray." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SymbolicOnesArray.html.

APA

Wolfram Language. (2024). SymbolicOnesArray. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SymbolicOnesArray.html

Wolfram Language. (2024). SymbolicOnesArray. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SymbolicOnesArray.html

BibTeX

@misc{reference.wolfram_2025_symboliconesarray, author="Wolfram Research", title="{SymbolicOnesArray}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/SymbolicOnesArray.html}", note=[Accessed: 29-March-2025 ]}

@misc{reference.wolfram_2025_symboliconesarray, author="Wolfram Research", title="{SymbolicOnesArray}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/SymbolicOnesArray.html}", note=[Accessed: 29-March-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_symboliconesarray, organization={Wolfram Research}, title={SymbolicOnesArray}, year={2024}, url={https://reference.wolfram.com/language/ref/SymbolicOnesArray.html}, note=[Accessed: 29-March-2025 ]}

@online{reference.wolfram_2025_symboliconesarray, organization={Wolfram Research}, title={SymbolicOnesArray}, year={2024}, url={https://reference.wolfram.com/language/ref/SymbolicOnesArray.html}, note=[Accessed: 29-March-2025 ]}