Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenSourcePhysics/osp
/ evaluate
Method
evaluate
src/org/opensourcephysics/numerics/Util.java:213–216 ·
view source on GitHub ↗
(final double x)
Source
from the content-addressed store, hash-verified
211
public
static
Function constantFunction(
final
double c) {
212
return
new
Function() {
213
@Override
214
public
double evaluate(
final
double x) {
215
return
c;
216
}
217
218
};
219
}
Callers
nothing calls this directly
Calls
1
exp
Method · 0.80
Tested by
no test coverage detected