Coder Social home page Coder Social logo

numpy-cn's Introduction

Teadocs

Teadocs is a quick and easy WEB document setup tool.

NPM

npm Bitbucket Pipelines GitHub top language CocoaPods

下一个版本 TODO

  • 更新说明文档(中文、英文)💪
  • dev 时候产生的目录改名为.temp,并且dev断开后自动删除该文件夹。💪
  • 自动递增端口 by dkvirus #25 👍
  • tree.md 功能优化 by dkvirus #24 👍
  • 增加单元测试/页面测试 😘
  • 函数/类增加完整注释说明 😘

Documentation

Getting Started

installation

Prerequisites: Nodejs(>=8.0), npm version 3+.

$ npm install -g teadocs

usage

step 1

Initialize a new document project

$ teadcos init mydocs

step 2

Go to this folder

$ cd mydocs

step 3

This step is to enter the document editing mode, this mode will monitor the markdown file changes in real-time hot replacement of html pages.

$ teadocs dev

Automatically generate md

If you want to be lazy, you can run this command again. This command will automatically generate the relevant markdown file from tree.html.

$ teadocs init

build docs

Build from ./mydocs

$ teadocs build

LICENSE

MIT License

Copyright (c) 2019 ZhiBing([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

numpy-cn's People

Contributors

hubyz avatar jiawei666 avatar lisniuse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

numpy-cn's Issues

快速入门教程的“使用索引数组进行索引”代码有误

>>> a = np.arange(12).reshape(3,4)
>>> a
array([[ 0,  1,  2,  3],
       [ 4,  5,  6,  7],
       [ 8,  9, 10, 11]])
>>> i = np.array( [ [0,1],                        # indices for the first dim of a
...                 [1,2] ] )
>>> j = np.array( [ [2,1],                        # indices for the second dim
...                 [3,3] ] )
>>>
>>> a[i,j]                                     # i and j must have equal shape
array([[ 2,  5],
       [ 7, 11]])
>>>
>>> a[i,2]
array([[ 2,  6],
       [ 6, 10]])
>>>
>>> a[:,j]                                     # i.e., a[ : , j]
array([[[ 2,  1],
        [ 3,  3]],
       [[ 6,  5],
        [ 7,  7]],
       [[10,  9],
        [11, 11]]])

当然,我们可以按顺序(比如列表)放入i,j然后使用列表进行索引。

>>> l = [i,j]
>>> a[l]                                       # equivalent to a[i,j]
array([[ 2,  5],
       [ 7, 11]])

经测试,最后一行代码会出错

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IndexError: index 3 is out of bounds for axis 0 with size 3

与后面“数组的数组”作索引的错误相同
python3.10.6 numpy1.23.4

基础篇 Numpy 的安装并不太准确

在基础篇 NumPy 的安装这一则内容中的表述并不太准确,如下:
基础篇 NumPy 的安装

对于 Windows 用户而言,直接在 cmd 或者 power shell 中输入 pip install numpy 命令后,安装的并不是完整版的 NumPy.
没有 mkl 支持的 NumPy 没法生成窗函数(至少是这个,别的函数应该也有不支持的)。

建议 Windows 用户从 Unofficial Windows Binaries for Python Extension Packages 网站下载对应的 .whl 文件,然后再用 pip install 命令安装对应的 numpy-[version-bit].whl. #

vuepress-theme-teadocs版本不匹配

使用npm install初始化项目的时候有如下报错:

npm ERR! code ETARGET
npm ERR! notarget No matching version found for vuepress-theme-teadocs@^2.0.0-beta.53.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in: D:\nodejs\node_cache\_logs\2023-07-30T02_37_18_411Z-debug-0.log

我是Windows系统,node版本v19.7.0,npm版本9.8.1。

翻译有问题

这个翻译太不严谨了,类似的地方还有多处

微信截图_20200116105123

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.