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

Function kinematics

benchmarks/python-performance.py:83–85  ·  view source on GitHub ↗

r"""Kinematics: u \cdot t + \frac{1}{2} a \cdot t^2

(u, a, t)

Source from the content-addressed store, hash-verified

81
82import numpy as np
83def kinematics(u, a, t):
84 r"""Kinematics: u \cdot t + \frac{1}{2} a \cdot t^2"""
85 return 0.5 * a * t ** 2 + t * u
86
87
88# Benchmark suite

Callers 1

run_benchmarksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected