/usr/lib/python2.7/dist-packages/arrayfire/base.py is in python-arrayfire 3.3.20160624-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #######################################################
# Copyright (c) 2015, ArrayFire
# All rights reserved.
#
# This file is distributed under 3-clause BSD license.
# The complete license agreement can be obtained at:
# http://arrayfire.com/licenses/BSD-3-Clause
########################################################
"""
Implementation of BaseArray class.
"""
from .library import *
from .util import *
class BaseArray(object):
"""
Base array class for arrayfire. For internal use only.
"""
def __init__(self):
self.arr = ct.c_void_p(0)
|