Skip to content

Instantly share code, notes, and snippets.

@kaizu
kaizu / untitled0.ipynb
Created June 9, 2021 09:02
Untitled0.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from ecell4 import *
# with reaction_rules():
# ~A == A | (Parameter(1.0), Parameter(1.0)) #<= Parameterize
def generate_model(k1=1.0, k2=1.0):
with reaction_rules():
~A == A | (k1, k2)
return get_model()
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This is a module for mathematical utility functions.
"""
from __future__ import print_function # This is for Python2
__author__ = "author"
__version__ = "1.0.0"
__copyright__ = "Copyright 2017, Planet Earth"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.