Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove references to Numeric in the documentation#4095

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
illume merged 1 commit intopygame:mainfromrpep:main
Dec 9, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletionsdocs/es/tutorials/SurfarrayIntro.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -35,15 +35,14 @@ principio aquí para ir avanzando.

Ahora bien, no voy a engañarte para que pienses que todo va a ser muy sencillo.
Lograr efectos avanzados modificando los valores de píxeles puede ser complicado.
Solo dominar Numeric Python, NumPy, (el paquete de matrices original de
SciPy era Numeric, el predecesor de NumPy) requiere aprendizaje. En este tutorial
me centraré en lo básico y utilizaré muchos ejemplos en un intento de sembrar las
semillas de la sabiduría. Después de haber terminado el tutorial, deberías tener
una comprensión básica de cómo funciona el surfarray.
Solo dominar NumPy requiere aprendizaje. En este tutorial me centraré en lo
básico y utilizaré muchos ejemplos en un intento de sembrar las semillas de la
sabiduría. Después de haber terminado el tutorial, deberías tener una comprensión
básica de cómo funciona el surfarray.


Numeric Python
--------------
NumPy
-----

Si no tenés instalado el paquete NumPy de python,
necesitarás hacerlo. Podés descargar el paquete dede la página de
Expand DownExpand Up@@ -596,7 +595,7 @@ truncación indefinida.
Graduación
----------

Bueno, ahí está. Mi breve introducción aNumeric Python y surfarray.
Bueno, ahí está. Mi breve introducción aNumPy y surfarray.
Espero que ahora veas lo que es posible, y aunque nunca los uses por
ti mismo, no tengas miedo cuando veas código que los use. Echale un
vistazo al ejemplo vgrade para ver más sobre los arrays numéricos. También,
Expand Down
2 changes: 1 addition & 1 deletiondocs/reST/ref/mixer.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -292,7 +292,7 @@ change the default buffer by calling :func:`pygame.mixer.pre_init` before
it and the Sound object.

For now buffer and array support is consistent with ``sndarray.make_sound``
forNumeric arrays, in that sample sign and byte order are ignored. This
forNumPy arrays, in that sample sign and byte order are ignored. This
will change, either by correctly handling sign and byte order, or by raising
an exception when different. Also, source samples are truncated to fit the
audio sample size. This will not change.
Expand Down
2 changes: 1 addition & 1 deletiondocs/reST/tut/SurfarrayIntro-rest
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -103,7 +103,7 @@ between 0 and 255, or you will get some undefined truncating.
Graduation
==========

Well there you have it. My quick primer onNumeric Python and surfarray.
Well there you have it. My quick primer onNumPy and surfarray.
Hopefully now you see what is possible, and even if you never use them for
yourself, you do not have to be afraid when you see code that does. Look into
the vgrade example for more numeric array action. There are also some *"flame"*
Expand Down
7 changes: 3 additions & 4 deletionsdocs/reST/tut/SurfarrayIntro.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -33,14 +33,13 @@ to work your way up.

Now I won't try to fool you into thinking everything is very easy. To get
more advanced effects by modifying pixel values is very tricky. Just mastering
Numeric Python (SciPy's original array package was Numeric, the predecessor of NumPy)
takes a lot of learning. In this tutorial I'll be sticking with
NumPy takes a lot of learning. In this tutorial I'll be sticking with
the basics and using a lot of examples in an attempt to plant seeds of wisdom.
After finishing the tutorial you should have a basic handle on how the surfarray
works.


Numeric Python
NumPy
--------------

If you do not have the python NumPy package installed,
Expand DownExpand Up@@ -569,7 +568,7 @@ between 0 and 255, or you will get some undefined truncating.
Graduation
----------

Well there you have it. My quick primer onNumeric Python and surfarray.
Well there you have it. My quick primer onNumPy and surfarray.
Hopefully now you see what is possible, and even if you never use them for
yourself, you do not have to be afraid when you see code that does. Look into
the vgrade example for more numeric array action. There are also some *"flame"*
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp