Skip to content
Snippets Groups Projects
example.ipynb 732 B
Newer Older
Xuefeng Ding's avatar
Xuefeng Ding committed
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "import myproj.simulation as ms\n",
Xuefeng Ding's avatar
Xuefeng Ding committed
    "import numpy as np\n",
Xuefeng Ding's avatar
Xuefeng Ding committed
    "\n",
    "print(ms.add(1, 2))\n",
Xuefeng Ding's avatar
Xuefeng Ding committed
    "print(ms.complex(1, 2))\n",
    "print(np.array([1, 2, 3]))"
Xuefeng Ding's avatar
Xuefeng Ding committed
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "dingxf",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}