MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / simple_power

Function simple_power

benchmarks/python-performance.py:35–37  ·  view source on GitHub ↗

r"""Simple Power: x^2 + y^2 + z^2

(x, y, z)

Source from the content-addressed store, hash-verified

33
34import numpy as np
35def simple_power(x, y, z):
36 r"""Simple Power: x^2 + y^2 + z^2"""
37 return x ** 2 + y ** 2 + z ** 2
38
39
40import numpy as np

Callers 1

run_benchmarksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected