# ARTS built-in documentation server

## Workspace Method VectorSubtractElementwise

### Description

Element-wise subtraction of two vectors. The method calculates c = a - b. The variable *b* is allowed to have length 1, for any length of *a*. This single value in *b* is then subtracted to every element of *a*. The vectors *a* and *c* can be the same WSV, while *b* can not be the same WSV as any of the the other vector.

**Authors: **Patrick Eriksson

### Synopsis

VectorSubtractElementwise( | c, a, b ) |

### Variables

GOUT | c | (Vector) | Output vector |

GIN | a | (Vector) | Input vector. |

GIN | b | (Vector) | Vector to be subtracted. |