Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/casadi/casadi
/ __init__
Method
__init__
test/python/function.py:400–402 ·
view source on GitHub ↗
(self, name, opts={})
Source
from the content-addressed store, hash-verified
398
def
test_callback(self):
399
class
mycallback(Callback):
400
def
__init__(self, name, opts={}):
401
Callback.__init__(self)
402
self.construct(name, opts)
403
404
def
eval(self,argin):
405
return
[argin[0]**2]
Callers
nothing calls this directly
Calls
2
__init__
Method · 0.45
construct
Method · 0.45
Tested by
no test coverage detected