# ARTS built-in documentation server

## Workspace Method Tensor7SetConstant

### Description

Creates a tensor and sets all elements to the specified value.
The size is determined by ncols, nrows etc.

**Authors: **Claudia Emde

### Synopsis

### Variables

GOUT | out | (Tensor7) | Variable to initialize. |

IN | nlibraries | (Index) | Number of elements in 7th lowest dimension of a Tensor. |

IN | nvitrines | (Index) | Number of elements in 6th lowest dimension of a Tensor. |

IN | nshelves | (Index) | Number of elements in 5th lowest dimension of a Tensor. |

IN | nbooks | (Index) | Number of elements in 4th lowest dimension of a Tensor. |

IN | npages | (Index) | Number of elements in 3rd lowest dimension of a Tensor. |

IN | nrows | (Index) | Number of rows (elements in 2nd lowest dimension) of a Matrix or Tensor. |

IN | ncols | (Index) | Number of columns (elements in lowest dimension) of a Matrix or Tensor. |

GIN | value | (Numeric) | Tensor value. |