Sum of squares

From Fōrmulæ wiki
Revision as of 18:45, 3 October 2019 by Admin (Talk | contribs) (Creation of page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page is a solution to the task Sum of squares in the Rosetta Code, written in Fōrmulæ.

Description (from Rosetta Code)

Task

Write a program to find the sum of squares of a numeric vector.

The program should work on a zero-length vector (with an answer of 0).

Program

SumSquaresCode.png

Use cases

SumSquaresCase01.png

SumSquaresCase02.png

SumSquaresCase03.png