Scicos Block
fr - eng

##
Scalar to vector

### Contents

- Scalar to vector
  - Palette
  - Description
  - Dialog box
  - Default properties
  - Interfacing function
  - Computational function
  - Authors

### Palette

- Branching - Branching palette

### Description

This block convert a scalar value into a vector of identical elements.When using blocks with more than one input port (such as the Sum or Relational Operator block), you can mix vector and scalar inputs. When you do this, the scalar inputs are expanded into vectors of identical elements whose widths are equal to the width of the vector inputs. If more than one input port is a vector, they must have the same number of elements.

### Dialog box

- size of output
  Number of component in vector output.
  Properties : Type 'vec' of size 1.

### Default properties

- always active: no
- direct-feedthrough: yes
- zero-crossing: no
- mode: no
- regular inputs:
  - port 1 : size [1,1] / type 1
- regular outputs:
  - port 1 : size [-1,1] / type 1
- number/sizes of activation inputs: 0
- number/sizes of activation outputs: 0
- continuous-time state: no
- discrete-time state: no
- object discrete-time state: no
- name of computational function: scalar2vector

### Interfacing function

- SCI/macros/scicos_blocks/Branching/SCALAR2VECTOR.sci [view code]

### Computational function

- SCI/routines/scicos/scalar2vector.c (Type 4) [view code]

### Authors

Ramine Nikoukhah INRIA